[英]Permission denied when using Yeoman to scaffold an application
我正在嘗試使用Yeoman和Angular建立一個新項目。 我已經嘗試過“ yo angular”和“ yo app”,但是兩次我都收到相同的錯誤。 我對Terminal也不是很有經驗。
Error: EACCES, permission denied '/Users/adam/.config/configstore/update-notifier-yo.yml'
You don't have access to this file.
at Object.fs.openSync (evalmachine.<anonymous>:438:18)
at Object.fs.readFileSync (evalmachine.<anonymous>:289:15)
at Object.create.all.get (/usr/local/lib/node_modules/yo/node_modules/configstore/configstore.js:33:29)
at Object.Configstore (/usr/local/lib/node_modules/yo/node_modules/configstore/configstore.js:26:44)
at new UpdateNotifier (/usr/local/lib/node_modules/yo/node_modules/update-notifier/index.js:25:17)
at module.exports (/usr/local/lib/node_modules/yo/node_modules/update-notifier/index.js:118:23)
at Object.<anonymous> (/usr/local/lib/node_modules/yo/cli.js:146:18)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
我將如何通過終端訪問此文件並能夠支持Yeoman項目?
您是否嘗試過此處提出的解決方案?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.