【问题标题】:Gunrt start ," Fatal error: spawn EACCES"Gunrt 开始,“致命错误:产生 EACCES”
【发布时间】:2016-04-30 05:18:27
【问题描述】:

[root@iZ25q0v42mrZ myapps]# grunt 服务器 运行“服务器”任务

server 任务已被弃用。使用grunt serve 启动服务器。

运行“serve:undefined”(服务)任务

运行“clean:server”(清理)任务

已清理 1 条路径。

运行“wiredep:app”(wiredep)任务

运行“wiredep:test”(wiredep)任务

运行“concurrent:server”(并发)任务

Running "copy:styles" (copy) task
Copied 1 file

Done, without errors.


Execution Time (2016-01-23 17:20:04 UTC)
loading tasks               236ms  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 88%
loading grunt-contrib-copy   18ms  ▇▇▇ 7%
copy:styles                  13ms  ▇▇ 5%
Total 267ms

运行“postcss:server”(postcss)任务

已创建 1 个已处理的样式表。

运行“connect:livereload”(连接)任务 开始在http://localhost:9090 上连接网络服务器 致命错误:产生 EACCES

执行时间(2016-01-23 17:20:03 UTC) 加载任务 221ms ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 16% 有线ep:app 163ms ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 12% 连线:测试 16ms ▇▇ 1% 并发:服务器 582ms ▇▇▇▇▇▇ 43% 加载 grunt-postcss 54ms ▇▇▇▇▇ 4% postcss:服务器 148ms ▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 11% 加载 grunt-contrib-connect 104ms ▇▇▇▇▇▇▇▇▇▇ 8% 连接:livereload 28ms ▇▇▇ 2% 总共 1.3 秒

谁能帮我看看。谢谢

【问题讨论】:

  • 以上都是日志!

标签: gruntjs yeoman


【解决方案1】:

您无权进行更改。

  1. 转到项目文件夹。
  2. 在项目文件夹中打开终端并执行以下命令。

    sudo chmod -R a+rwx ./
    

【讨论】:

    猜你喜欢
    • 2014-06-17
    • 2016-10-23
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-03-15
    • 2016-09-09
    相关资源
    最近更新 更多