I have installed Ubuntu Bash on Windows. I already have nodejs
and npm
on my windows machine at C:\\Program Files\\nodejs
. In the bash she
On Visual Studio -> Tools -> Options -> Projects and Solutions -> Web Package Management -> make sure $(PATH) is above all the rest. As long it is not located in the top of the list VS will try to use VS tools instead of npm.
You should also refer windows to the current npm version by following this screenshot, after try npm --version changing npm path