npm ERR! 安装依赖 errno: -4048,解决办法:

1、最有效的解决办法:删除node_modules包重新下载依赖
2、

npm ERR! code EPERM
npm ERR! syscall unlink
npm ERR! path D:\demo\vue\vuerobot\node_modules\core-js\internals
npm ERR! errno -4048
npm ERR! Error: EPERM: operation not permitted, unlink 'D:\demo\vue\vuerobot\node_modules\core-js\internals'
npm ERR!  [OperationalError: EPERM: operation not permitted, unlink 'D:\demo\vue\vuerobot\node_modules\core-js\internals'] {
   
npm ERR!   cause: [Error: EPERM: operation not permitted, unlink 'D:\demo\vue\vuerobot\node_modules\core-js\internals'] {
   
npm ERR!     errno: -4048,
npm ERR!     code: 'EPERM',
npm ERR!     syscall: 'unlink',
npm ERR!     path: 'D:\\demo\\vue\\vuerobot\\node_modules\\core-js\\internals'
npm ERR!   },
npm ERR!   errno: -4048,
npm ERR!   code: 'EPERM'

你可能感兴趣的:(vue,vue,npm)