In my package.json file, I have the following scripts:
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
When I use "npm run" it shows the following available scripts:
Lifecycle scripts included in swap@0.1.0:
start
react-scripts start
test
react-scripts test
available via `npm run-script`:
build
react-scripts build
eject
react-scripts eject
However, whenever I use "npm run start" or "npm run-script start", I get the following error: sh: react-scripts: command not found
Any ideas are appreciated; I can't seem to find any clues.