1. 程式人生 > >node錯誤: Error: spawn EACCES

node錯誤: Error: spawn EACCES

[email protected]:~/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

sudo chmod -R a+rw /samples-generator 本人測試過正確的1/2/18

相關推薦

node錯誤 Error: spawn EACCES

[email protected]:~/projects/mobile/mobile/hiteplay$  gulp serve[13:22:16] Using gulpfile ~/projects/mobile/mobile/hiteplay/gulpfil

ionic platform add時報Error: spawn EACCES錯誤

Error: spawn EACCES at exports._errnoException (util.js:746:11) at ChildProcess.spawn (child_process.js:1155:11) at Object.exports.spawn

git pull遇到錯誤error: Your local changes to the following files would be overwritten by merge:

覆蓋 eset class 代碼更新 hang err ast div clas   今天用git pull將服務器的代碼拉到本地時,遇到錯誤,Your local changes to the following files would be overwritten by

linux備份mysql文件並恢復的腳本,以及其中出現的錯誤ERROR: ASCII '

linux備份 表示 RR pytho 簡單 大括號 his 恢復 然而 首先是在網上找了一下教程,代碼很簡單 #!/bin/bash folder=~/test time=`date +%Y%m%d` mysqldump -u user -p pwd -hloca

Redis錯誤(error) MISCONF Redis is configured to save RDB snapshots, but it is currently not able...

今天執行redis命令:move key22 2 時,報如下錯誤: (error) MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Comman

JAVA_HOME從jdk8變到jdk7錯誤Error: Registry key 'Software\JavaSoft\Java Runtime Environment'\CurrentVersi

電腦裝了jdk8,JAVA_HOME也是設定的8. 不刪除8變回7. 改了JAVA_HOME,並且path值裡的C:\ProgramData\Oracle\Java\javapath也刪了 執行java -version,報錯 Error: Registry key ‘Software\Ja

Xcode archive 時錯誤error itms90475

ERROR ITMS-90474: "Invalid Bundle. iPad Multitasking supportrequires these orientations:'UIInterfaceOrientationPortrait,UIInterfaceOrientationPortrai

【C++】 Debug 版的 C/C++ Python 擴充套件模組連結錯誤Error LNK1104 cannot open file 'python27_d.lib

Debug 版的 C/C++ Python 擴充套件模組連結錯誤:Error LNK1104 cannot open file 'python27_d.lib' 環境配置 (1)python的lib 以及標頭檔案分別加到vc的include/lib directories中去。

[Visual Studio C++] [MFC 除錯錯誤]error LNK2005: "class std::...已經在 Multimediatimer.obj 中定義。

1.編譯問題描述: error LNK2005: "class std::basic_ofstream<char,struct std::char_traits<char> > Sim_Data_Write" ([email protected]@[email&

vs2010編譯錯誤error MSB3073: :VCEnd” exited with code 1.

  1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: The command ""D:\vsproject\HCheck\D

Scrapy安裝錯誤 error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build To

轉載自: https://blog.csdn.net/nima1994/article/details/74931621 原文簡練,記得給原文點個贊。寫的挺好的! 我寫的就比較詳細了點~好吧,是瑣碎。比較友好! 我的版本:3.7 64-bit Windows10 所報錯誤:

Hive錯誤Error: FUNCTION 'NUCLEUS_ASCII' already exists. (state=X0Y68,code=30000)

初始化derby失敗: [[email protected] apache-hive-2.3.0-bin]# schematool -dbType derby -initSchemaSLF4J: Class path contains multiple SLF4J bindings.SLF4J:

git pull遇到錯誤error: Your local changes to the following files would be overwritten by merge:解決方法

error: Your local changes to the following files would be overwritten by merge: 意思是我桌上型電腦上新修改的程式碼的檔案,將會被git伺服器上的程式碼覆蓋;我當然不想剛剛寫的程式碼被覆蓋掉,看了git的手

【我的Android進階之旅】解決編譯出現錯誤Error: In DataSet 'main', no data file for changedFile.

一、問題描述 晚上在Android Studio上,切換分支之後,重新編譯執行的時候,報錯了,錯誤資訊如下所示: 錯誤資訊文字: FAILURE: Build failed with an excep

遇到錯誤*** Error in `***': double free or corruption (fasttop): 0x091d7a20 **

背景:     最近我閒了在寫雙向連結串列的模板類,編譯可以通過,但是執行後報錯:( 錯誤: *** Error in `./double_list': double free or corruption (fasttop): 0x091d7a20 *** ======

mysq安裝錯誤error while loading shared libraries: libaio.so.1: cannot open shared object file: No such

centos6安裝mysq5.6 錯誤資訊:Installing MySQL system tables..../bin/mysqld: error while loading shared libraries: libaio.so.1: cannot open shared object

windows pm2 啟動node失敗Error: EBADF: bad file descriptor, uv_pipe_open

windows下開啟命令視窗,安裝pm2:npm install pm2 -g pm2成功安裝,在專案目錄下用pm2啟動服務:pm2 start index.js,結果啟動失敗,錯誤如下: .pm2\pm2.log last 15 lines:PM2 | 2018-11-13T12:57

下載android程式碼過程中,提示以下錯誤 error: Failed connect to android.googlesource.com:443;

下載android程式碼過程中,提示以下錯誤: error: Failed connect to android.googlesource.com:443;Connection refused while accessinghttps://android.googles