Home > OS >  How to fix npm start errors on my nodejs?
How to fix npm start errors on my nodejs?

Time:08-17

After the npm install, I tried npm start for my project. But it shows an error. How can we fix this error?enter image description here

CodePudding user response:

There's no package.json at the directory where you are trying to run the command. Likely you want to run npm start in one of the subdirectories.

CodePudding user response:

first go the correct file directory. usually cd "app-name" (It display this after you create a new app).

CodePudding user response:

you're in the wrong file directory ;

  • Related