【发布时间】:2013-07-14 10:53:37
【问题描述】:
运行 yo webapp 时出现错误,提示“使用 sudo 很容易。Yeoman 是这里的主人”
请帮帮我。我在 yoeman.io 网站上遵循了相同的说明。
没有 sudo ,在 /usr/node/ 中运行,目录更改为 777 并使用 chmod,
错误:EACCES,权限被拒绝'/home/manish/.config/configstore/insight-yo.yml' 在 Object.fs.openSync (fs.js:427:18) 在 Object.fs.writeFileSync (fs.js:966:15) 在 Object.create.all.set (/home/manish/local/lib/node_modules/yo/node_modules/insight/node_modules/configstore/configstore.js:39:7) 在 Object.Configstore (/home/manish/local/lib/node_modules/yo/node_modules/insight/node_modules/configstore/configstore.js:30:11) 在新的 Insight (/home/manish/local/lib/node_modules/yo/node_modules/insight/lib/insight.js:20:16) 在对象。 (/home/manish/local/lib/node_modules/yo/bin/yo:26:15) 在 Module._compile (module.js:456:26) 在 Object.Module._extensions..js (module.js:474:10) 在 Module.load (module.js:356:32) 在 Function.Module._load (module.js:312:12)
【问题讨论】: