亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

yo -v 報錯 系統是centos

[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)

正在回答

2 回答

mkdir /root/.config/configstore
chmod g+rwx /root /root/.config /root/.config/configstore

0 回復 有任何疑惑可以回復我~
#1

居居

感謝~終于找到解決我那個問題的方法了TAT
2015-10-20 回復 有任何疑惑可以回復我~

已自己解決

chmod g+rwx /root /root/.config /root/.config/configstore

0 回復 有任何疑惑可以回復我~
#1

tomorrowsky

遇到同樣的問題,多謝兄弟解答。
2015-10-14 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消
Grunt-beginner前端自動化工具
  • 參與學習       60385    人
  • 解答問題       418    個

通過配置Grunt自動化工具,提高您的工作效率,出乎您的想象

進入課程

yo -v 報錯 系統是centos

我要回答 關注問題
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號