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

May 29, 2018 pm 05:15 PM
install Appear 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!

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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

How to solve the problem that Windows 11 prompts you to enter the administrator username and password to continue? How to solve the problem that Windows 11 prompts you to enter the administrator username and password to continue? Apr 11, 2024 am 09:10 AM

When using Win11 system, sometimes you will encounter a prompt that requires you to enter the administrator username and password. This article will discuss how to deal with this situation. Method 1: 1. Click [Windows Logo], then press [Shift+Restart] to enter safe mode; or enter safe mode this way: click the Start menu and select Settings. Select "Update and Security"; select "Restart Now" in "Recovery"; after restarting and entering the options, select - Troubleshoot - Advanced Options - Startup Settings -&mdash

Win11 administrator blocks you from executing this application Win11 administrator blocks you from executing this application Jan 30, 2024 pm 05:18 PM

The Win11 system administrator has blocked you from running this application. When using the Windows 11 operating system, you may encounter a common problem, that is, the system administrator has blocked you from running an application. This can be confusing and frustrating because you may need to run this application to get work done or enjoy entertainment. However, don't worry, there is usually a solution to this problem. First, we need to understand why this problem occurs. The Windows 11 operating system has higher security and privacy protection measures. In order to prevent malware or viruses from running, system administrators may restrict the running permissions of certain applications. This is to protect the security of your computer and personal information. However, sometimes system administrators may

3 Easy Ways to Create a Windows 11 USB Installer on Mac 3 Easy Ways to Create a Windows 11 USB Installer on Mac May 13, 2023 pm 09:43 PM

Windows 11 introduces a wealth of new features and a comprehensively improved appearance, placing greater emphasis on unity and efficiency. So, today’s topic is how to create a Windows 11 USB installer on Mac. Performing a clean installation of Windows 11, rather than an upgrade, is the method that yields the best results when getting the operating system. Using a drive bootable in Windows 11, you can perform this task. If you have a Windows PC, making a bootable CD for Windows 11 is a very simple process. On the other hand, if you are using a Mac, the process is a little more complicated. This article will describe how to use the base

Summary of methods to obtain administrator rights in Win11 Summary of methods to obtain administrator rights in Win11 Mar 09, 2024 am 08:45 AM

A summary of how to obtain Win11 administrator rights. In the Windows 11 operating system, administrator rights are one of the very important permissions that allow users to perform various operations on the system. Sometimes, we may need to obtain administrator rights to complete some operations, such as installing software, modifying system settings, etc. The following summarizes some methods for obtaining Win11 administrator rights, I hope it can help you. 1. Use shortcut keys. In Windows 11 system, you can quickly open the command prompt through shortcut keys.

How to install PHP on Windows 10 using Command Prompt How to install PHP on Windows 10 using Command Prompt May 08, 2023 pm 05:13 PM

Install PHP on Windows using Command Prompt or PowerShell Install ChocolateyChoco Package Manager I tried the Windows default package manager Winget but could not install PHP through it. Therefore, the other best option left is to use the popular Chocolatey package manager. But unlike Winget, Choco does not exist in our Windows system by default, so we need to install it manually on our system. Go to your Windows 10 or 11 search box and type CMD, when it appears select "Run as administrator" to copy the given command

How to install macOS on a new SSD How to install macOS on a new SSD Apr 13, 2023 pm 04:01 PM

How to Use macOS Recovery to Install macOS on a New SSD On any Mac built after 2009, there is a built-in recovery system. This allows you to boot your Mac into recovery mode. In this mode, you can repair the internal disk, restore files from a Time Machine backup, get online help, or reinstall macOS. You must have an Internet connection to use these tools. You can use the macOS installation tool to install macOS on a new SSD installed in your computer. To use Internet Recovery to install macOS on an SSD: Follow the manufacturer's instructions

How to run PowerShell as an administrator in Win10. How to run PowerShell as an administrator in Win10. Jul 18, 2023 pm 02:05 PM

WindowsPowerShell is a Windows command line shell designed for system administrators. Windows PowerShell includes interactive prompts and scripting environments that can be used individually or in combination. However, many PowerShell commands require elevated or administrator rights, and you need to launch a PowerShell prompt to execute them. How to run PowerShell as an administrator in Win10. Method 1: Use the Windows 10 Start Menu context menu. When you right-click on the Windows 10 Start menu, a context menu appears, allowing you to quickly launch commonly used management programs. The context menu contains a window called Windo

How to open software as administrator? Multiple ways to run programs as administrator in Win10 How to open software as administrator? Multiple ways to run programs as administrator in Win10 Feb 29, 2024 am 11:00 AM

Where does Win10 run as administrator? In Win10, some programs need to be run as an administrator, but some users don't know how to run programs as an administrator. This article is a tutorial on how to run programs as an administrator in Win10. In Win10 system, the default account is an account with ordinary administrator privileges. When running some software, you have to right-click and select Run as administrator in the menu to run it normally. The following operations can be performed without changing the account. Let the software run using the administrator account by default and just double-click to run. Right-click the program that needs to be run as administrator, and in the menu item that opens, select Run as administrator. Method 1. 1) First, set the

See all articles