gruntjs - Gunrt开始,"Fatal error: spawn EACCES"

标签 gruntjs yeoman

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

The server task has been deprecated. Use grunt serve to start a server.



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

运行 "clean:server"(clean) 任务

1 path cleaned.



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

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

运行“并发:服务器”(并发)任务
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 processed stylesheet created.



运行“connect:livereload”(连接)任务
开始在 http://localhost:9090 上连接网络服务器
fatal error :产生 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.3s

谁能帮我看看。谢谢

最佳答案

您无权进行更改。

  • 转到项目文件夹。
  • 在项目文件夹中打开终端并执行以下命令。
    sudo chmod -R a+rwx ./
    
  • 关于gruntjs - Gunrt开始,"Fatal error: spawn EACCES",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34966490/

    相关文章:

    javascript - grunt-usemin 海报属性 html 视频标签的自定义模式

    yeoman - 哟 aspnet 生成器未检测到

    css - GruntJS CSS 处理 : How to select CSS files and how to package them

    sass - 找不到具有可执行sass的gem sass(> = 0.a)

    javascript - grunt.file.write(.....) 是同步还是异步?

    javascript - 我需要将 grunt 与 angularjs 4 一起使用吗?

    concatenation - Yeoman & RequireJS 使用动态生成的 HTML 构建?

    gruntjs - Grunt 服务监视错误 - 正在等待...警告错误 : watch ENOSPC

    ruby - compass 路径需要更正

    linux - 为 ubuntu 14.04 grunt 命令配置 yeoman 不起作用