Reputation: 900
When I try to install a package globally using npm
, it complaints about not being able to create some files. How can I solve this issue? I am on Windows 10
Upvotes: 1
Views: 1718
Reputation: 49
As the error suggests, you might not have the appropriate permissions. Therefore, try to launch the cmd as an administrator, and then run your command.
Upvotes: 3