'nodejs issue: trying to install with npm with windows and getting eacces error
I'm getting an error when trying to install a package with npm and I'm getting EACCES permission denied C:\Program Files\nodejs
I'm running 'npm install mongoose' for example and getting this error when running in that directory.
I'm new to this so any help is appreciated!
Thanks!
Solution 1:[1]
You should change the permissions on the folder nodejs is installed and give full access to your normal user account. You should avoid running npm as an administrator.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | MartinC |
