Home > Article > Web Front-end > Solve the problem of permissions when installing as npm administrator
Below I will share with you an article to solve the problem of permissions when installing as npm administrator. It has a good reference value and I hope it will be helpful to everyone.
When I use npm to install the module, although I execute it as an administrator, I still get an error about permissions
This is because I HandJiang has been 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
The above is what I compiled for everyone. I hope it will be helpful to everyone in the future.
Related articles:
A brief discussion on the application scenarios of Vue’s built-in component components
Simple tutorial on using less in vue2
Introduction to the problems and differences between apply and Math.max() functions in js
The above is the detailed content of Solve the problem of permissions when installing as npm administrator. For more information, please follow other related articles on the PHP Chinese website!