YuraDev / vue-chrome-extension-template

vue chrome extension template
MIT License
651 stars 104 forks source link

Build error websocket #22

Open boriscy opened 5 years ago

boriscy commented 5 years ago

When I run npm run build and then I load my unpacked extension I get the error

WebSocket connection to 'ws://localhost:9090/6' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED

I have moved the wcer plugin from webpack.base.js to webpack.dev.js and I still get the same error after building, it works correctly when I run npm run dev.

huxiaoqiang commented 5 years ago

I have the same problem = =. @boriscy Have you solved this problem?

slc3a2 commented 5 years ago

@boriscy @huxiaoqiang use node 8.x.x to solve this problem

mikekolganov commented 5 years ago

@llqi thanks, it works!

HaoweiCh commented 5 years ago

which version did you use solved this problem?

mikekolganov commented 5 years ago

@HaoweiCh v8.15.0

slc3a2 commented 5 years ago

8.0.4

HWei notifications@github.com于2019年4月16日 周二21:49写道:

which version did you use solved this problem?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/YuraDev/vue-chrome-extension-template/issues/22#issuecomment-483667234, or mute the thread https://github.com/notifications/unsubscribe-auth/AgCSOvyq1a4kUOC7xKWW210K2Gq2A5S9ks5vhdTvgaJpZM4ZTvkm .