Troubleshooting Deployment Issues: /bin/sh: 1: react-scripts: not found

Hello Render Community,

I’ve encountered a persistent issue when deploying my React application with a web service. The deployment process consistently fails, returning the following error message: /bin/sh: 1: react-scripts: not found. Interestingly, this problem does not occur when I deploy the app as a static site, which leads me to believe that the issue lies within the web services workflow.

Here’s the package.json for reference:

  "name": "expense-tracker-frontend",
  "version": "0.1.0",
  "private": true,
  "dependencies": {
    "@emotion/react": "^11.11.1",
    "@emotion/styled": "^11.11.0",
    "@mui/icons-material": "^5.14.19",
    "@mui/material": "^5.14.20",
    "@reduxjs/toolkit": "^2.0.1",
    "@testing-library/jest-dom": "^5.17.0",
    "@testing-library/react": "^13.4.0",
    "@testing-library/user-event": "^13.5.0",
    "react": "^18.2.0",
    "react-cookie": "^6.1.1",
    "react-dom": "^18.2.0",
    "react-redux": "^9.0.2",
    "react-router-dom": "^6.20.1",
    "react-scripts": "5.0.1",
    "react-toastify": "^9.1.3",
    "web-vitals": "^2.1.4"
  "scripts": {
    "start": "react-scripts start",
    "build": "react-scripts build",
    "test": "react-scripts test",
    "eject": "react-scripts eject"
  "eslintConfig": {
    "extends": [
  "browserslist": {
    "production": [
      "not dead",
      "not op_mini all"
    "development": [
      "last 1 chrome version",
      "last 1 firefox version",
      "last 1 safari version"
  "proxy": ""


react-scripts isn’t found as you don’t appear to have installed your dependencies, e.g.

yarn && yarn build

If this is just a React app we have an example guide to deploy a React App to a Render Static Site, which is often the best service type for them:


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.