Run npm install , failed
SeriStyle opened this issue · comments
Case
-BUG
Issue
when run npm install , Error launchingin staller,how to solve ?
npm ERR! path D:\my-vue\resume\best-resume-ever\node_modules.staging\typescript-6e2eb2a5\lib\tsc.js
npm ERR! code EPERM
npm ERR! errno -4048
npm ERR! syscall unlink
npm ERR! Error: EPERM: operation not permitted, unlink 'D:\my-vue\resume\best-resume-ever\node_modules.staging\typescript-6e2eb2a5\lib\tsc.js'
npm ERR! { Error: EPERM: operation not permitted, unlink 'D:\my-vue\resume\best-resume-ever\node_modules.staging\typescript-6e2eb2a5\lib\tsc.js'
npm ERR! cause:
npm ERR! { Error: EPERM: operation not permitted, unlink 'D:\my-vue\resume\best-resume-ever\node_modules.staging\typescript-6e2eb2a5\lib\tsc.js'
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'unlink',
npm ERR! path: 'D:\my-vue\resume\best-resume-ever\node_modules\.staging\typescript-6e2eb2a5\lib\tsc.js' },
npm ERR! stack: 'Error: EPERM: operation not permitted, unlink 'D:\my-vue\resume\best-resume-ever\node_modules\.staging\typescript-6e2eb2a5\lib\tsc.js'',
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'unlink',
npm ERR! path: 'D:\my-vue\resume\best-resume-ever\node_modules\.staging\typescript-6e2eb2a5\lib\tsc.js',
npm ERR! parent: 'best-resume-ever' }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It's possible that the file was already in use (by a text editor or antivirus),
npm ERR! or that you lack permissions to access it.
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator (though this is not recommended).
Info
- Operating System: WINDOWS 10
- Node-Version: v8.11.3
Reproduce
Run npm install
this is not a BUG, I have a similar error before, but I may not be able to give too much help recently. Please refer to the following article.
Sort by priority: