我正在尝试使用Yeoman和Angular建立一个新项目。我试过" yo angular"和"你的应用程序"但两次我收到同样的错误。我对终端也不是很有经验。
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项目?