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

Solve the problem of permissions when installing as npm administrator

亚连
Release: 2018-05-29 17:15:38
Original
2979 people have browsed it

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template