Home > Software design >  npm start in create react app throws error(tries searching for react-scripts in weird place)
npm start in create react app throws error(tries searching for react-scripts in weird place)

Time:09-09

Other projects work just fine but this project for some reason throws this error: enter image description here

The internal scripts from npm(version 8.19.1) appear to be trying to import react-scripts from my Desktop(???) instead of from node_modules. Checking my node_module folder shows react-scripts correctly installed.

CodePudding user response:

Your issue are the spaces and the ampersand characters is your path. The shell is interpreting it as different commands 'jobs' and 'cv\soltinia'. These commands are not recognised, which is obvious.

  • Related