浴见未来
2015-04-22 22:12
[root@huajunshuo node_modules]# yo -v
Error: EACCES, permission denied '/root/.config/configstore/insight-yo.yml'
You don't have access to this file.
at Object.fs.openSync (evalmachine.<anonymous>:439:18)
at Object.fs.readFileSync (evalmachine.<anonymous>:290:15)
at Object.create.all.get (/usr/lib/node_modules/yo/node_modules/configstore/index.js:34:29)
at Object.Configstore (/usr/lib/node_modules/yo/node_modules/configstore/index.js:27:44)
at new Insight (/usr/lib/node_modules/yo/node_modules/insight/lib/index.js:36:34)
at Object.<anonymous> (/usr/lib/node_modules/yo/lib/cli.js:117:15)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
mkdir /root/.config/configstore
chmod g+rwx /root /root/.config /root/.config/configstore
已自己解决
chmod g+rwx /root /root/.config /root/.config/configstore
Grunt-beginner前端自动化工具
60388 学习 · 408 问题
相似问题
回答 4
回答 1