[英]Error: EPERM: operation not permitted installing ionic 3 and cordova
[英]Error: EPERM: operation not permitted while installing ionic and cordova
我花了最后幾個小時嘗試安裝ionic和cordova,但我不斷收到以下錯誤。 我不知道出什么問題或如何解決它,我嘗試清除緩存並將環境變量設置為正確的路徑。 有人遇到過這個問題嗎?
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
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.