Reason: This is a version problem, 4.2.X+ (this is also the problem when I use the latest version, which may be improved in the future)
Solution: use the lower version, I use 4.1.X is OK.
Here is the output of the client after the connection is successful
Vue solution:
Vue installation. Not only the version needs to be modified, but also the ^
in front of the version needs to be removed (in packpage.json), but there is no Vue test. You can try it (a picture of other blogs is cut here)
Read More:
- [Solved] node-xlsx Write excel Error: TypeError: n.indexOf is not a function
- [Solved] Failed to load plugin ‘vue‘ declared in ‘.eslintrc.js‘: createRequire is not a function
- [Solved] Nuxt Import qrcodejs2.js / QRCode.js Error: document is not defined
- Vue Use scss Error: this.getOptions is not a function [How to Solve]
- TypeError: r.indexOf is not a function TypeError: r.indexOf is not a function
- [Solved] Syntax Error: TypeError: this.getOptions is not a function
- [Solved] Vue uses webpack to package error: Createapp is not a function
- [Solved] webpack Package Error: ERROR in multi ./src/main.js ./dist/bundle.js Module not found: Error: Can‘t resolv
- [Solved] Less Install Error: TypeError: this.getOptions is not a function
- [Solved] Input error: this. Getoptions is not a function
- [Solved] Vue3.2 Error: Object.fromEntries is not a function
- [Solved] Syntax Error: TypeError: this.getOptions is not a function
- [Web Browser] “Uncaught TypeError: object is not a function“
- [Solved] webpack Package Error: TypeError: this.getOptions is not a function style-loader
- [Solved] Vue Project Error: Syntax Error: TypeError: this.getOptions is not a function
- [Solved] Echart Error: Typeerror: axis Getaxesonzeroof is not a function
- [Solved] express-jwt Error: Error: jwt is not a function
- [Solved] scss Error: TypeError: this.getOptions is not a function
- [Vue warn]: Error in v-on handler: “TypeError: Object(…) is not a function“
- [Solved] Module build failed TypeError this.getOptions is not a function at Object.loader