【问题标题】:Multiple errors grunt serve多个错误 grunt 服务
【发布时间】:2016-06-10 21:35:35
【问题描述】:

我试图为 angular-gantt 演示启动服务器,一切正常,我安装了 npm installgrunt install 所需的所有依赖项,grunt test 也正常工作,它编译执行 grunt,但是当我尝试使用grunt serve 运行演示应用程序,但出现很多错误。

这是终端的输出

eri-174-235:angular-gantt jnd0$ grunt serve

Loading "release-it.js" tasks...ERROR

>> Error: EACCES: permission denied, open '/Users/jnd0/.config/configstore/insight-release-it.json'
>> You don't have access to this file.

Warning: Task "serve" not found. Use --force to continue.

【问题讨论】:

    标签: angularjs node.js gruntjs npm bower


    【解决方案1】:

    查看这个 github 线程:https://github.com/yeoman/yeoman.github.io/issues/282

    在 linux 上,您需要将权限 chmod g+rwx 添加到该文件,您可以在 OS X 上尝试 - 它也应该可以工作。

    完整命令:

    chmod g+rwx /Users/jnd0/ /Users/jnd0/.config /Users/jnd0/.config/configstore
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-04-21
      • 2014-10-23
      • 2014-09-16
      • 1970-01-01
      • 2016-03-02
      • 1970-01-01
      • 2013-06-18
      • 1970-01-01
      相关资源
      最近更新 更多