Windows 7 AiO V7 French: Les secrets de ce projet exceptionnel
- lorelei-jodoin117i
- Aug 15, 2023
- 1 min read
There are actually 2 paths which was added to your System's Variable when upgrading to nodejs latest version. 1. C:\Program Files\nodejs 2. C:\Program Files\nodejs\node_modules\npm\binFor windows 7/8/8.1 users, they will not have an Environment Variables Windows 10 smart GUI.Anyway, all you have to do is search for "C:\Program Files\nodejs\node_modules\npm\bin" and remove it.Also, remove "C:\Users\%USERNAME%\AppData\Roaming\npm" from your environment variables. I am posting this answer because I wasted my 10hrs searching for the solution on internet. By combining the above answer I finally make it through the problem.
In my case, I was using nvm-windows 1.1.6 , and I updated my nodejs version using nvm install latest, which eventually told me that nodejs and npm are installed, however when I tried to do npm install, I received
Windows 7 AiO V7 Frenchl
Download: https://cinurl.com/2vEeQ8
upon checking nvm-windows structure, I found that C:\Program Files\nodejs was symlinked to %APPDATA%\nvm\NODE_VERSION, (NODE_VERSION was v9.7.1 in my case) which has the folder node_modules having nothing inside, caused this error. The solution was to copy the npm folder from one of my previous versions' node_modules folder and paste it in. I then updated my npm with npm install npm@next -g and everything started working again.
I run into this problem when installing node9.0.0 on windows7at the end the solution was to just remove npmnpm.cmdnpxnpx.cmdfromC:\Program Files\nodejs\node_modules\npm\binbefore doing this a workaround was to runC:\Program Files\nodejs\npmso that is one way so see if you have the same problem I had. 2ff7e9595c
Comments