简体   繁体   中英

Laravel npm run watch browser sync don't run localhost:3000

I have a laravel webpack Browsersync and thats worked on win7. I reinstall my windows and upgraded to win10 and now after i run npm run watch the server http://localhost:3000 keeps 'waiting for server'. So the webpack Browsersync is working but i have no server to check my application. What should be the problem?

you try this:

rm -rf node_modules
rm package-lock.json yarn.lock
npm cache clear --force
npm install

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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