Home  >  Article  >  Web Front-end  >  Solve the problem of permissions when installing as npm administrator

Solve the problem of permissions when installing as npm administrator

亚连
亚连Original
2018-05-29 17:15:382947browse

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!

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