This article is a mirror article of machine translation, please click here to jump to the original article.

View: 7675|Reply: 0

"npm ERR! Error: EPERM: operation not permitted"

[Copy link]
Posted on 5/30/2019 5:02:31 PM | | | |
npm ERR! path c:\project\git\dz-ad-system\node_modules\fsevents\node_modules
npm ERR! code EPERM
npm ERR! errno -4048
npm ERR! syscall lstat
npm ERR! Error: EPERM: operation not permitted, lstat 'c:\project\git\dz-ad-system\node_modules\fsevents\node_modules'
npm ERR!  { Error: EPERM: operation not permitted, lstat 'c:\project\git\dz-ad-system\node_modules\fsevents\node_module
'
npm ERR!   stack: 'Error: EPERM: operation not permitted, lstat \'c:\\project\\git\\dz-ad-system\\node_modules\\fsevent
\\node_modules\'',
npm ERR!   errno: -4048,
npm ERR!   code: 'EPERM',
npm ERR!   syscall: 'lstat',
npm ERR!   path: 'c:\\project\\git\\dz-ad-system\\node_modules\\fsevents\\node_modules' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\itsvse_pc\AppData\Roaming\npm-cache\_logs\2019-05-30T08_33_22_842Z-debug.log


Try Solution 1:


Running the cmd command as an administrator is actually a command running as an administrator at the beginning, which is not resolved.

Try Solution 2:

Get the npm cache local path

Get the C:\Users\itsvse_pc\AppData\Roaming\npm-cache folder

Delete fsevents folder, unresolved.

Try Solution 3:

Upgrade angular-cli scaffolding


The new error is as follows:

You are running version v8.9.2 of Node.js, which is not supported by Angular CLI 8.0+.
The official Node.js version that is supported is 10.9 or greater.

Please visithttps://nodejs.org/en/to find instructions on how to update Node.js.
Unresolved

Try Solution 4:

Redownload and install the latest version of the node.js at the following address:The hyperlink login is visible.

Upgraded to "node-v10.16.0-x64" version, and finally, the problem was solved。。。。。




Previous:Why can't I log in to discuz with this code post?
Next:Message queue sending and receiving message demo
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com