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!
In charge npm -v
at least appears after trying to cancel. Already in others like npm install
nothing happens or with npm init
Take a look at your path. See the settings nessse link
– josivan
Blz @josivan I will read and try the solution... vlw
– M.Cardoso
It didn’t work @josivan
– M.Cardoso
Try
npm install -g npm/npm
.– josivan
Nothing went right @josivan
– M.Cardoso
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.
– josivan
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/
– romulobastos
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.
– M.Cardoso
@romulobastos blz I will try, as soon as I have the result put here
– M.Cardoso
@M.Cardoso, be sure to share if you find the solution.
– josivan
@josivan ok, I won’t forget... thank you!
– M.Cardoso
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
@M.Cardoso post the solution as the answer please to help other people with the same problem..
– Andre Figueiredo