Charlie Robles
Charlie Robles

Reputation: 39

react-scripts: command not found in react app

Im running a react-app on localhost and this error popped out. I have installed the correct dependencies with npm install, but for a reason i don't know it doesn't find the command react-scripts.

The error displayed in the console

Upvotes: 0

Views: 138

Answers (1)

user12586173
user12586173

Reputation:

Nice to meet you.

Please check your node version. After setup your node.exe.

And set the below contents to your package.json file.

"scripts": {
    "start": "react-scripts start",
    "build": "react-scripts build",
    "test": "react-scripts test",
    "eject": "react-scripts eject"
  },

Then please execute the command line. "npm start"

Best regards.

Upvotes: 1

Related Questions