In my windows installation PATH
includes C:\\Program Files\\nodejs
, where executable node.exe
is. I\'m able to launch node
Find the current path of your global node package installation by following command.
npm list -g --depth=0
Change this path to correct path by following command.
npm set prefix C:\Users\username(Number)\AppData\Roaming\npm\node_modules
It worked for me. Read my previous answer for better understanding.
Using a Windows symbolic link from the C:\Users{username}\AppData\Roaming\npm and C:\Users{username}\AppData\Roaming\npm-cache paths to the destination worked great for me.
How to add a symbolic link