Error reporting description
After running NPM run serve, the interface has been called in the network: http:// * * */sockjs node/info?t=***
Error reporting reason
Sockjs node is a JavaScript library that provides cross browser JavaScript APIs and creates a low latency, full duplex communication channel between browsers and web servers.
There are related calls in the dependent source code
Solution
CTRL + P open file node_modules\sockjs-client\dist\sockjs.JS
Ctrl + G jump to line 1611
refer to the figure below, comment out the call of line 1611, and restart the project
Read More:
- [Solved] /sockjs-node/info?t= net::ERR_SSL_PROTOCOL_ERROR
- [Solved] error C:\Users\HP\Desktop\VueProject\vue_cli\node_modules\node-sass: Command failed.Exit code: 1
- How to Solve Vue project Startup Error (Node Upgrade issue)
- [Solved] Error: ENOENT: no such file or directory, scandir ‘..\node_modules\node-sass\vendor‘
- [Solved] Vue Error: Module build failed Error Node Sass version 6.0.1 is incompatible with ^4.0.0.
- [Solved] Vue Project Start Error: Support for the experimental syntax ‘jsx‘ isn‘t currently enabled
- NPM run dev runs the Vue project and reports an error: Node Sass does not yet support your current environment
- Vue installs sass loader directly, and node sass reports an error
- [Solved] Temporary error: Error: spawn E:\vue3-vite\my-app\node_modules\esbuild\esbuild.exe ENOENT
- [Solved] vue3vite Error: Failed to resolve import “@vue/server-renderer from “src\App.vue“. Does the file exist
- Vue Package Image Error: Syntax Error: Error: ‘**\node_modules\pngquant-bin\vendor\pngquant.exe‘
- [Solved] Vue Route Error: Uncaught TypeError: (0 , vue__WEBPACK_IMPORTED_MODULE_42__.defineComponent) is not a function
- Vue installation @ Vue/cli error: npmerr gyp err
- [Solved] Vue3.0 Error: The component has been registered but not used vue/no-unused-components, Close eslint
- [Solved] Vue Error: Uncaught TypeError: Vue.createApp is not a function
- [Solved] Vue3 Error: Unhandled error during execution of scheduler flush. This is likely a Vue internals bug. P
- Full screen scrolling by Vue + Vue awesomeswiper
- Vue warn]: vue3 element Component emit Pass Event Error
- [Solved] VUE D:\project\vueProject\vue-02\src\components\hello.vue 5:5 error Parsing error: x-invalid-end-tag
- VUE Error: Vue Error in nextTick: “RangeError: Maximum call stack size exceeded“