MetinSeylan / Vue-Socket.io

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

Module parse failed #251

Closed MaksimSerg closed 4 years ago

MaksimSerg commented 4 years ago

ERROR in ./node_modules/vue-socket.io/dist/vue-socketio.js Module parse failed: Unexpected token (10:14818)

Desktop (please complete the following information):

nicodeur commented 4 years ago

Hello, I have the same since 3.0.8

ERROR in ./~/vue-socket.io/dist/vue-socketio.js

Module parse failed: /home/jenkins/agent/workspace/DM-MDM_KDM-MDM-mdm-front_develop/node_modules/vue-socket.io/dist/vue-socketio.js Unexpected token (10:14929)

You may need an appropriate loader to handle this file type.

SyntaxError: Unexpected token (10:14929)

    at Parser.pp$4.raise (/home/jenkins/agent/workspace/DM-MDM_KDM-MDM-mdm-front_develop/node_modules/webpack/node_modules/acorn/dist/acorn.js:2221:15)

    at Parser.pp.unexpected (/home/jenkins/agent/workspace/DM-MDM_KDM-MDM-mdm-front_develop/node_modules/webpack/node_modules/acorn/dist/acorn.js:603:10)

    at Parser.pp$3.parseIdent (/home/jenkins/agent/workspace/DM-MDM_KDM-MDM-mdm-front_develop/node_modules/webpack/node_modules/acorn/dist/acorn.js:2189:12)

    at Parser.pp$3.parsePropertyName (/home/jenkins/agent/workspace/DM-MDM_KDM-MDM-mdm-front_develop/node_modules/webpack/node_modules/acorn/dist/acorn.js:2052:101)

    at Parser.pp$3.parseObj (/home/jenkins/agent/workspace/DM-MDM_KDM-MDM-mdm-front_develop/node_modules/webpack/node_modules/acorn/dist/acorn.js:1988:14)

    at Parser.pp$3.parseExprAtom (/home/jenkins/agent/workspace/DM-MDM_KDM-MDM-mdm-front_develop/node_modules/webpack/node_modules/acorn/dist/acorn.js:1805:19)

    at Parser.pp$3.parseExprSubscripts (/home/jenkins/agent/workspace/DM-MDM_KDM-MDM-mdm-front_develop/node_modules/webpack/node_modules/acorn/dist/acorn.js:1715:21)

    at Parser.pp$3.parseMaybeUnary (/home/jenkins/agent/workspace/DM-MDM_KDM-MDM-mdm-front_develop/node_modules/webpack/node_modules/acorn/dist/acorn.js:1692:19)

    at Parser.pp$3.parseExprOps (/home/jenkins/agent/workspace/DM-MDM_KDM-MDM-mdm-front_develop/node_modules/webpack/node_modules/acorn/dist/acorn.js:1637:21)

    at Parser.pp$3.parseMaybeConditional (/home/jenkins/agent/workspace/DM-MDM_KDM-MDM-mdm-front_develop/node_modules/webpack/node_modules/acorn/dist/acorn.js:1620:21)

    at Parser.pp$3.parseMaybeAssign (/home/jenkins/agent/workspace/DM-MDM_KDM-MDM-mdm-front_develop/node_modules/webpack/node_modules/acorn/dist/acorn.js:1597:21)

    at Parser.pp$3.parseMaybeAssign (/home/jenkins/agent/workspace/DM-MDM_KDM-MDM-mdm-front_develop/node_modules/webpack/node_modules/acorn/dist/acorn.js:1608:25)

    at Parser.pp$3.parseParenAndDistinguishExpression (/home/jenkins/agent/workspace/DM-MDM_KDM-MDM-mdm-front_develop/node_modules/webpack/node_modules/acorn/dist/acorn.js:1861:32)

    at Parser.pp$3.parseExprAtom (/home/jenkins/agent/workspace/DM-MDM_KDM-MDM-mdm-front_develop/node_modules/webpack/node_modules/acorn/dist/acorn.js:1796:19)

    at Parser.pp$3.parseExprSubscripts (/home/jenkins/agent/workspace/DM-MDM_KDM-MDM-mdm-front_develop/node_modules/webpack/node_modules/acorn/dist/acorn.js:1715:21)

    at Parser.pp$3.parseMaybeUnary (/home/jenkins/agent/workspace/DM-MDM_KDM-MDM-mdm-front_develop/node_modules/webpack/node_modules/acorn/dist/acorn.js:1692:19)

Any news about it ?

X-H-siwan commented 4 years ago

same error here

nelsonkti commented 4 years ago

@MetinSeylan Help solve this problem

MaksimSerg commented 4 years ago

I just installed the old version - 3.0.7

igwtech commented 4 years ago

Same error on 3.0.9

ray2031 commented 4 years ago

I installed 3.0.5 to solved this problem

GuoChen-thlg commented 4 years ago

I have the same problem