加载中…
个人资料
  • 博客等级:
  • 博客积分:
  • 博客访问:
  • 关注人气:
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
正文 字体大小:

node错误: Error: spawn EACCES

(2015-06-18 13:27:08)
标签:

it

node

nodejs

spawn

分类: linux
xxx@xxx-All-Series:~/projects/mobile/mobile/hiteplay$  gulp serve
[13:22:16] Using gulpfile ~/projects/mobile/mobile/hiteplay/gulpfile.js
[13:22:16] Starting 'scripts'...

/home/xxx/projects/mobile/mobile/hiteplay/src/app/main/main.controller.js
  line 7  col 6   This character may get silently deleted by one or more browsers.
  line 8  col 23  'mainctrl' was used before it was defined.

  ⚠  2 warnings


/home/xxx/projects/mobile/mobile/hiteplay/src/app/services/ExampleService.js
  line 30  col 11  'console' is not defined.
  line 33  col 11  'console' is not defined.

  ⚠  2 warnings


/home/xxx/projects/mobile/mobile/hiteplay/src/app/settings/settingsController.js
  line 13  col 48  '$scope' is defined but never used.

  ⚠  1 warning

[13:22:16] all files 5.39 kB
[13:22:16] Finished 'scripts' after 234 ms
[13:22:16] Starting 'inject'...
[13:22:16] gulp-inject 1 files into index.html.
[13:22:16] gulp-inject 13 files into index.html.
[13:22:16] Finished 'inject' after 129 ms
[13:22:16] Starting 'watch'...
[13:22:17] Finished 'watch' after 19 ms
[13:22:17] Starting 'serve'...
[13:22:17] Finished 'serve' after 18 ms
[BS] [BrowserSync SPA] Running...
[BS] Access URLs:
 ---------------------------------------
       Local: http://localhost:3000/
    External: http://192.168.5.136:3000/
 ---------------------------------------
          UI: http://localhost:3001
 UI External: http://192.168.5.136:3001
 ---------------------------------------
[BS] Serving files from: .tmp/serve
[BS] Serving files from: src
child_process.js:1162
    throw errnoException(err, 'spawn');
          ^
Error: spawn EACCES
    at exports._errnoException (util.js:746:11)
    at ChildProcess.spawn (child_process.js:1162:11)
    at Object.exports.spawn (child_process.js:995:9)
    at module.exports (/home/xxx/projects/mobile/mobile/hiteplay/node_modules/browser-sync/node_modules/opn/index.js:58:24)
    at Object.utils.open (/home/xxx/projects/mobile/mobile/hiteplay/node_modules/browser-sync/lib/utils.js:227:9)
    at Object.utils.openBrowser (/home/xxx/projects/mobile/mobile/hiteplay/node_modules/browser-sync/lib/utils.js:217:23)
    at EventEmitter.events.service:running (/home/xxx/projects/mobile/mobile/hiteplay/node_modules/browser-sync/lib/internal-events.js:40:23)
    at EventEmitter.emit (events.js:129:20)
    at /home/xxx/projects/mobile/mobile/hiteplay/node_modules/browser-sync/lib/browser-sync.js:244:19
    at /home/xxx/projects/mobile/mobile/hiteplay/node_modules/browser-sync/node_modules/async-each-series/index.js:15:40


权限问题
解决办法: sudo chmod a+x hiteplay

0

阅读 收藏 喜欢 打印举报/Report
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有