should I use node every Time with admin rights #602
-
After I install nvm ,I find when I run |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Not necessarily. It depends on where your files exist. Running npm doesn't touch NVM4W at all, so in this regard, npm will behave the same way as if you'd installed Node without NVM4W. Windows has several protected directories. For example, Please keep in mind that if you're using the latest version of node, the versions of npm that have been shipping have had a few issues. It's possible you may just need to update npm ( While it may be obvious, it's also worth mentioning that you need to run Without knowing more about the circumstance, it's hard to troubleshoot... but the bottom line is you do not need to have administrative privileges to run Node. You may need an admin account to satisfy your own system permission requirements, but on a stock install of NVM4W, you only need admin privileges to run |
Beta Was this translation helpful? Give feedback.
Not necessarily. It depends on where your files exist. Running npm doesn't touch NVM4W at all, so in this regard, npm will behave the same way as if you'd installed Node without NVM4W.
Windows has several protected directories. For example,
C:\Program Files
is one of them. These directories are often restricted to user accounts with admin rights. If you work in a company that locks down other directories through Group Policy, then you may need special access on those directories as well. In your situation, it may be as easy as moving your code to a different directory, likeC:\my_project
.Please keep in mind that if you're using the latest version of node, the versions of npm that have be…