2017-10-09 74 views
0

下面是我從CMD讓我的錯誤我試圖尋找解決方案,而不是運氣,我沒有嘗試在OSX但我可能會嘗試,後來NPM運行手錶不工作的laravel在Windows

npm ERR! @ watch-poll: `npm run watch -- --watch-poll` 
npm ERR! Exit status 4294963238 
npm ERR! 
npm ERR! Failed at the @ watch-poll script. 
npm ERR! This is most likely a problem with the package, 
npm ERR! not with npm itself. 
npm ERR! Tell the author that this fails on your system: 
npm ERR!  npm run watch -- --watch-poll 
npm ERR! You can get their info via: 
npm ERR!  npm owner ls 
npm ERR! There is likely additional logging output above. 
npm ERR! System Windows_NT 6.1.7601 
npm ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "watch-poll" 
npm ERR! cwd C:\Users\Yosef\Desktop\pos 
npm ERR! node -v v6.11.2 
npm ERR! npm -v 1.3.21 
npm ERR! code ELIFECYCLE 
npm ERR! 
npm ERR! Additional logging details can be found in: 
npm ERR!  C:\Users\Yosef\Desktop\pos\npm-debug.log 
npm ERR! not ok code 0 

回答

0

有時候,如果您已經啓動了Web服務器,如果您嘗試在另一個終端會話上再次運行npm命令,則會出現ELIFECYCLE錯誤。

確保您沒有任何其他實例正在運行。