-1

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.

ionescho
  • 1,360
  • 2
  • 17
  • 31
  • 1
    Your issue are the spaces and the ampersand characters is your path. The shell is interpreting it as different command 'jobs' and 'cv\soltinia'. These commands are not recognised, which is obvious. – W.S. Sep 08 '22 at 15:29
  • isn't the path automatically put inside quotes to avoid this? This seems like bad handling on the part of the internal loader. – ionescho Sep 08 '22 at 15:31
  • @W.S. thank you, that fixed it. Would you like to post your answer below so I can mark it as the correct one? – ionescho Sep 08 '22 at 15:44

1 Answers1

1

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.

W.S.
  • 1,401
  • 1
  • 7
  • 9