I have a problem with npm, but specifically when starting my project for a simple server using node.js.
hello.network
I have a problem with npm, but specifically when starting my project for a simple server using node.js. I tried to search in forums, videos and articles but the solutions didn't answer me.
The ERROR says that the package.json file is not in the directory, but it is - and the file contains "start" directing to the nodemon app.js command.
Thank you very much
The error says that cmd.exe;
is not found (and not, as you claim, package.json
). Note the extra ;
at the end which shouldn't be there.
Make sure your system's COMSPEC
environment variable doesn't have this spurious semicolon at the end (if it has, remove it and restart your computer) and also that you don't have any .npmrc
that overrides the shell with the bad path.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.