Reputation: 630
I am using window 7 and i can not use npm globally. My system is admin protected PC.I can not run as administrator my command prompt. I tried to set path i.e.,
set NODE_PATH %AppData%\npm\node_modules
but it did not work.please help.
Upvotes: 0
Views: 253
Reputation: 15647
Can you please try setting your PATH
variable in your command prompt as given below,
set path=%PATH%;c:\Users\[YOUR_USER_ACCOUNT_DIRECTORY]\AppData\Roaming\npm;
Edit: Yes you can,
Navigate to Control Panel => User Accounts => User Accounts and do the following steps,
Hope this helps!
Upvotes: 1