Skip to content

should I use node every Time with admin rights #602

Answered by coreybutler
niusz asked this question in Q&A
Discussion options

You must be logged in to vote

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, like C:\my_project.

Please keep in mind that if you're using the latest version of node, the versions of npm that have be…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@niusz
Comment options

Answer selected by niusz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants