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] it only responds to error and does not enter success after AJAX is successfully processed
- Difference between contenttype and datatype in Ajax request of jquery
- [Solved] TypeError: Converting circular structure to JSON – JSON.stringify
- Solution to build error in Vue project (error in static/JS)/vendor.xxxxx.js from UglifyJs)
- Such a simple serialization system.text.json.serialization also reports an error?
- [Solved] Font End Image Display Error: net::ERR_CONNECTION_RESET 431 (Request Header Fields Too Large)
- [Solved] Install The Latest Version of Jest Error: TypeError: Cannot read property ‘instrument‘ of undefined
- Vue Use scss Error: this.getOptions is not a function [How to Solve]
- [Solved] Warning: To load an ES module, set “type“: “module“ in the package.json or use the .mjs extension
- Syntax Error: Error: Cannot find module ‘less‘ [How to Solve]
- [Solved] Error Rule can only have one resource source (provided resource and test + include + exclude)
- [Solved] Error Rule can only have one resource source (provided resource and test + include + exclude)
- [Solved] Vue Project Error: Error: Cannot find module ‘webpack‘ Require stack以及Error: Rule can only have one resource so
- Vue Project Error: Proxy error: Could not proxy request [How to Solve]
- [Solved] Vue E-Charts Error: These dependencies were not found:
- [Solved] SyntaxError: E:\IdeaProject\src\main.js: Identifier ‘ElementPlus‘ has already been declared
- [Solved] Error: Transform failed with 1 error: error: Invalid option in transform() call: “jsx“
- Vue3 + vite install element-plus error [How to Solve]
- npm ERR code ELIFECYCLE [How to Solve]
- [Solved] SyntaxError: Cannot use import statement outside a module