I have problem about react project when I hit enter the command like yarn start so I have face the mentioned problem like react-script is not recognize internal or external command. I have this script in dependencies but still I face this problem. I have the latest version of node, and I have updated npm but still I have this problem.
CodePudding user response:
- Make sure that you are inside the project folder before you use the
yarn start
command. - Or try deleting the cache and node-modules and package-lock.json and re-install it.
- You can try manually installing
react-scripts
for your application.
CodePudding user response:
1 . Try yarn install
2 . If the problem is not solved yarn add react-scripts --dev