我花了过去几个小时试图安装离子和科多瓦,但我不断得到以下错误。我不知道出了什么问题,也不知道如何修复它,我试着清除缓存并将环境变量设置为正确的路径。以前有没有人面对过这个问题?
npm ERR! Error: EPERM: operation not permitted, mkdir 'C:\Program Files\nodejs\node_modules\.staging'
npm ERR! at Error (native)
npm ERR! { [Error: EPERM: operation not permitted, mkdir 'C:\Program Files\nodejs\node_modules\.staging']
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'mkdir',
npm ERR! path: 'C:\\Program Files\\nodejs\\node_modules\\.staging' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\noor\eggly-ionic\npm-debug.log发布于 2016-07-03 17:17:29
你需要以管理员身份启动命令提示符。
另外,请确保暂时禁用您的防恶意软件和防病毒软件。
https://stackoverflow.com/questions/38172029
复制相似问题