PS C:UsersacerDesktopdemo> npm -v
PS C:UsersacerDesktopdemo> npm run start
Why is npm not working in the terminal? I also checked the latest version of node.js
Here, I ran a file in react.js Run, but it doesn’t give me any response. I checked NPM several times, but it didn’t help.
2
Answers
It seems like no npm had been installed.
Try installing or updating the latest version of npm by the following command and check for the version.
npm -v should give the version of npm like 10.2.4
Try downloading NodeJS from the website again and run the installer.
It is probably an error when installing NodeJS.