“致命错误:生成EACCES”

时间:2021-01-12 23:03:11

[root@iZ25q0v42mrZ myapps]# grunt server Running "server" task

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

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

服务器任务已被弃用。使用咕哝服务启动服务器。

Running "serve:undefined" (serve) task

运行“服务:未定义”(服务)的任务

Running "clean:server" (clean) task

运行“清洁:服务器”(清洁)的任务

1 path cleaned.

1道路清洁。

Running "wiredep:app" (wiredep) task

运行“wiredep:应用”(wiredep)的任务

Running "wiredep:test" (wiredep) task

运行“wiredep:测试”(wiredep)的任务

Running "concurrent:server" (concurrent) task

运行“并发:服务器”(并发)的任务

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

Running "postcss:server" (postcss) task

运行“postcss:服务器”(postcss)的任务

1 processed stylesheet created.

1创建样式表处理。

Running "connect:livereload" (connect) task Started connect web server on http://localhost:9090 Fatal error: spawn EACCES

运行“connect:livereload”(connect)任务启动了在http://localhost:909090致命错误:spawn EACCES上的connect web服务器

Execution Time (2016-01-23 17:20:03 UTC) loading tasks 221ms ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 16% wiredep:app 163ms ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 12% wiredep:test 16ms ▇▇ 1% concurrent:server 582ms ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 43% loading grunt-postcss 54ms ▇▇▇▇▇ 4% postcss:server 148ms ▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 11% loading grunt-contrib-connect 104ms ▇▇▇▇▇▇▇▇▇▇ 8% connect:livereload 28ms ▇▇▇ 2% Total 1.3s

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

Who can help me to look at. Thanks

谁能帮我看看。谢谢

1 个解决方案

#1


8  

You don't have permission to make some changes .

你没有权限去做一些改变。

  1. Go to project folder.
  2. 项目文件夹。
  3. Open terminal in project folder & execute following command .

    在项目文件夹中打开终端并执行以下命令。

    sudo chmod -R a+rwx ./
    

#1


8  

You don't have permission to make some changes .

你没有权限去做一些改变。

  1. Go to project folder.
  2. 项目文件夹。
  3. Open terminal in project folder & execute following command .

    在项目文件夹中打开终端并执行以下命令。

    sudo chmod -R a+rwx ./