MetinSeylan / Vue-Socket.io

😻 Socket.io implementation for Vuejs and Vuex
https://metin.sh
MIT License
3.95k stars 496 forks source link

Unexpected token and the production build crashed #248

Closed gorcsek closed 4 years ago

gorcsek commented 4 years ago

Describe the bug Hy, today I found a bug your new release. The error in the console: ERROR in ./node_modules/vue-socket.io/dist/vue-socketio.js Module parse failed: Unexpected token (10:14818). The error only occurred when run production build. I fixed the 3.0.7 version to the package.json and everything works fine now.

Thanks, Milan

absir1949 commented 4 years ago

The same problem,please fix it .

rafaelmartinsdacosta commented 4 years ago

I have the same problem!

Any solution for the webpack version?

"vue-socket.io": "^3.0.7", "webpack": "^3.11.0"

tarikhagustia commented 4 years ago

same here

Akifcan commented 4 years ago

i have same problem i installed npm install vue-socket.io@3.0.7 and fix