在安装Yeoman遇到了一些报错,具体的步骤就不多说了,直接上码,具体的两处报错的地方。 第一个,创建webapp,直接报权限的错误,这时才留意到在它之前还有一个错误。[root@iZ289zd8c52Z yeomanapp]# yo webapp/usr/local/nod ...
在安装Yeoman遇到了一些报错,具体的步骤就不多说了,直接上码,具体的两处报错的地方。
第一个,创建webapp,直接报权限的错误,这时才留意到在它之前还有一个错误。
[root@iZ289zd8c52Z yeomanapp]# yo webapp/usr/local/node/lib/node_modules/.yo_npminstall/configstore/1.4.0/configstore/index.js:69 throw err; ^Error: EACCES: permission denied, open '/root/.config/configstore/insight-yo.json.3906771838'You don't have access to this file. at Error (native) at Object.fs.openSync (fs.js:549:18) at Object.fs.writeFileSync (fs.js:1156:15) at Function.writeFileSync [as sync] (/usr/local/node/lib/node_modules/.yo_npminstall/write-file-atomic/1.1.4/write-file-atomic/index.js:37:8) at Object.create.all.set (/usr/local/node/lib/node_modules/.yo_npminstall/configstore/1.4.0/configstore/index.js:62:21) at Object.Configstore (/usr/local/node/lib/node_modules/.yo_npminstall/configstore/1.4.0/configstore/index.js:27:11) at new Insight (/usr/local/node/lib/node_modules/.yo_npminstall/insight/0.7.0/insight/lib/index.js:37:34) at Object.<anonymous> (/usr/local/node/lib/node_modules/.yo_npminstall/yo/1.8.4/yo/lib/cli.js:172:11) at Module._compile (module.js:410:26) at Object.Module._extensions..js (module.js:417:10)
原标题:安装Yeoman,遇到的问题
关键词:
*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们:
admin#shaoqun.com
(#换成@)。