Home > database >  react-scripts is not recognize
react-scripts is not recognize

Time:02-25

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.

enter image description here

CodePudding user response:

  1. Make sure that you are inside the project folder before you use the yarn start command.
  2. Or try deleting the cache and node-modules and package-lock.json and re-install it.
  3. 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

  • Related