Home > Article > Web Front-end > How to solve permission problems when installing as npm administrator
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!