简体   繁体   English

npm run watch不适用于Windows上的laravel

[英]npm run watch not working for laravel on windows

Here is the error i'm getting from cmd I tried look for a solution and not luck i didn't try it on OSX yet i might try that later 这是我从cmd收到的错误,我尝试寻找解决方案,但不走运,我没有在OSX上尝试过,但我以后可能会尝试

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

Sometimes, when you already started your webserver, the ELIFECYCLE error comes if you try to run the npm command again on another terminal session. 有时,当您已经启动Web服务器时,如果尝试在另一个终端会话上再次运行npm命令, ELIFECYCLE出现ELIFECYCLE错误。

Make sure that you don't have any other instance running up. 确保您没有其他实例在运行。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM