Table of contents
Problem Description
When creating a vue project in cmd, using the npm install command reports an error ERROR-4080
problem analysis
1.npm ERR! If you believe this might be a permissions issue, please double-check the
Prompts that there is a permission problem
2.npm ERR! permissions of the file and its containing directories, or try running
Please check the permissions of the file and its directory
3.npm ERR! the command again as root/Administrator.
Please run the command as root
It can be known that it is caused by insufficient permissions of ordinary users.
Solution
1. Find the installation location of the nodejs file, right-click and enter [Properties]-[Security]
2. Modify the permissions of Users and change [Full Control] and [Modify] to Allow
2. Click [Apply] and [OK]