skip to Main Content

PS C:UsersacerDesktopdemo> npm -v
PS C:UsersacerDesktopdemo> npm run start

enter image description here

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


  1. 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 install -g npm
    

    npm -v should give the version of npm like 10.2.4

    Login or Signup to reply.
  2. Try downloading NodeJS from the website again and run the installer.

    It is probably an error when installing NodeJS.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search