无法创建yeoman Webapp

日本动漫

当我尝试使用创建Webapp时,我得到了这个yeoman

/usr/local/lib/node_modules/yo/node_modules/insight/node_modules/configstore/configstore.js:66
                throw err;
                      ^
Error: EACCES, permission denied '/root/.config/configstore/insight-yo.yml'
You don't have access to this file.

    at Object.fs.openSync (fs.js:436:18)
    at Object.fs.writeFileSync (fs.js:975:15)
    at Object.create.all.set (/usr/local/lib/node_modules/yo/node_modules/insight/node_modules/configstore/configstore.js:56:8)
    at Object.Configstore (/usr/local/lib/node_modules/yo/node_modules/insight/node_modules/configstore/configstore.js:19:11)
    at new Insight (/usr/local/lib/node_modules/yo/node_modules/insight/lib/insight.js:23:34)
    at process.<anonymous> (/usr/local/lib/node_modules/yo/node_modules/insight/lib/push.js:11:16)
    at process.emit (events.js:98:17)
    at handleMessage (child_process.js:322:10)
    at Pipe.channel.onread (child_process.js:349:11)

我用谷歌搜索,尝试了以下操作,但没有帮助:

chown root /root/.config/configstore/insight-yo.yml 

chown myusername /root/.config/configstore/insight-yo.yml 

安装npm-sudo-fix并运行它,还没有运气。

我在Debian Wheezy上,安装的是npm 1.4.4。

穆罕默德·阿米尔(Mohammad Amir)

我面临着同样的问题。我在下面运行了命令,它解决了我的问题:

mkdir -p /root/.config/configstore

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

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

无法创建yeoman Webapp

来自分类Dev

Yeoman'yo webapp'运行,但目录中未创建文件

来自分类Dev

Yeoman Webapp与Assemble结合使用

来自分类Dev

在webApp中创建ListView

来自分类Dev

具有grunt-connect-proxy的yeoman webapp无法正常工作

来自分类Dev

Tomcat Webapp无法正常工作

来自分类Dev

Spring MVC-无法在webapp / resources /下创建文件

来自分类Dev

Spring MVC-无法在webapp / resources /中创建文件

来自分类Dev

如何在Yeoman中支持RequireJS生成Webapp?

来自分类Dev

Yeoman Webapp部署,我的json文件不起作用

来自分类Dev

yeoman生成器-webapp的npm sudo permisions

来自分类Dev

yeoman webapp子文件夹错误的css路径

来自分类Dev

如何在Yeoman的webapp-generator中使用angularJS

来自分类Dev

yeoman webapp:用于多个 HTML 页面的压缩 JS

来自分类Dev

创建marmotta原型webapp错误(新)

来自分类Dev

使用完整的存储过程创建 webapp

来自分类Dev

使用 sql alchemy 创建flask webapp

来自分类Dev

Spring MVC无法从WebApp加载静态资源

来自分类Dev

Spring无法自动连线Webapp内容

来自分类Dev

Xuggler无法与Webapp一起使用

来自分类Dev

文件无法加载到Webapp或网站中

来自分类Dev

无法在Azure WebApp中启动ElasticSearch

来自分类Dev

Java Webapp无法在OpenShift上连接mysql

来自分类Dev

Maven-无法复制Webapp源

来自分类Dev

Java WebApp无法从jar加载.properties

来自分类Dev

Azure WebApp 中的 Tomcat 无法启动

来自分类Dev

无法在 WebApp 上上传文件访问被拒绝

来自分类Dev

无法使用 owin 浏览到 webapp 主机

来自分类Dev

无法使用jersey-quickstart-webapp原型创建新的Maven项目