Home  >  Article  >  Web Front-end  >  How to solve permission problems when installing as npm administrator

How to solve permission problems when installing as npm administrator

小云云
小云云Original
2018-03-19 09:20:563622browse

When using npm to install modules, although I execute it as an administrator, I still get errors about permissions. This article mainly shares with you an article to solve the problem of permissions when installing as an npm administrator. I hope it can Help everyone.

This is because I upgraded to the latest 5.3.0. After upgrading, you should add –no-optional

after install. So, comrades, don’t blindly seek the latest version

Related recommendations:

Share using npm to install/delete/publish/update/undo publish package


##

The above is the detailed content of How to solve permission problems when installing as npm administrator. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn