0

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

1
  • 2
    can you post your package,json Commented May 4, 2020 at 2:04

1 Answer 1

1

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.

Sign up to request clarification or add additional context in comments.

3 Comments

Please check and vote about this answer. Thanks.
Mr. Charlie. Could you please check and vote about my answer?
[Done, regards]

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.