Published
- 1 min read
react-scripts: command not found
The solution for this is noted below
react-scripts: command not found
Solution
# delete the node_modules
rm -rf node_modules
# delete the package-lock.json or yarn.lock
rm -f package-lock.json
rm -f yarn.lock
# clean the npm cache
npm cache clean --force
# Install the dependencies
npm install
Try other methods by searching on the site. That is if this doesn’t work