使用npm 安装vue的时候突然报错了:
npm ERR! code EPERM
npm ERR! syscall mkdir
npm ERR! path C:Program Files
odejs
ode_cache_cacache
npm ERR! errno -4048
npm ERR! Error: EPERM: operation not permitted, mkdir 'C:Program Files
odejs
ode_cache_cacache'
npm ERR! [OperationalError: EPERM: operation not permitted, mkdir 'C:Program Files
odejs
ode_cache_cacache'] {
npm ERR! cause: [Error: EPERM: operation not permitted, mkdir 'C:Program Files
odejs
ode_cache_cacache'] {
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'mkdir',
npm ERR! path: 'C:\Program Files
odejs
ode_cache_cacache’
npm ERR! },
npm ERR! isOperational: true,
npm ERR! errno: -4048,
npm ERR! code: ‘EPERM’,
npm ERR! syscall: ‘mkdir’,
npm ERR! path: ‘C:\Program Files
odejs
ode_cache_cacache’
npm ERR! }
npm ERR!
npm ERR! The operation was rejected by you