Command "npm" not working properly on Windows 8.1 Single Language x64

Asked

Viewed 1,878 times

3

I’m executing the command npm in the CMD but there is no return, even when I ask to display the version of npm, I already gave full permission in the folder of nodejs, I’ve already done a simple test with the nodejs, like Hello World! I have already created a simple server and all ball show with nodejs, but when I try to use npm the "bixo picks up", I spent an afternoon waiting to see if something came up, but nothing. I’m going to put up some images so you can see what the behavior is like. Stay this way for everything! npm -v

In charge npm -v at least appears after trying to cancel. Already in others like npm install nothing happens or with npm init Ctrl + C

  • Take a look at your path. See the settings nessse link

  • Blz @josivan I will read and try the solution... vlw

  • It didn’t work @josivan

  • Try npm install -g npm/npm.

  • Nothing went right @josivan

  • I don’t know what else to try. Maybe the problem is in windows. Try running other scripts and see the result. Maybe Node is working properly.

  • Have you tried running Git Bash commands instead of CMD? I found it easy to p/ configure the path. (right click on the program > "Properties" and fill in "Start at:" c/ your project directory. I had a problem with full HD and it saved my life. Good luck! https://git-for-windows.github.io/

  • The commands with Node are working fine! I believe it is a problem in my Windows even I will try a general scan through something that is giving this error, but vlw @josivan.

  • @romulobastos blz I will try, as soon as I have the result put here

  • @M.Cardoso, be sure to share if you find the solution.

  • @josivan ok, I won’t forget... thank you!

  • 1

    OK, I’m back with the solution, very simple that even saddens. Let’s go to the steps: Perform the steps of this post link Then I ran a cleaning program and analyzed the records on regedit to delete the old keys, I ran the installation again gave permission to the nodejs folder and restarted the machine and it worked. Thanks for all your help!

  • @M.Cardoso post the solution as the answer please to help other people with the same problem..

Show 8 more comments

1 answer

0


FOOTSTEPS

  • Completely remove the Nodejs
  • Run a cleaning program (I used Ccleaner)
  • Review the records on regedit (very careful not to delete what should not, make a backup of the logs before)
  • Install Nodejs again and give permission to the Nodejs folder
  • Restart the computer.

Enjoy the Nodejs and good luck

Browser other questions tagged

You are not signed in. Login or sign up in order to post.