At work in the morning, NPM run serve starts the project, and then you see that the console keeps reporting errors:
I said I was broken. I didn’t report this cross-domain problem yesterday. Today, I suddenly o (╥﹏╥) O
Check the network and see that the info interface reports an error. I haven’t called this project in my project. Then Baidu queries socks node/info?T = 1562204191563
First 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
Server: sockjs node( https://github.com/sockjs/sockjs-node )
client: sockjs clien( https://github.com/sockjs/sockjs-client )
If sockjs is not used in your project, vuecli3 has been investigating an interface in the network after running NPM run serve: http://10.136.180.142:9424/sockjs -node/info?t=1562204191563
The solution is as follows:
1. Find/node_modules/sockjs-client/dist/sockjs.js
2. Find 1605 lines of code
try { // self.xhr.send(payload); Write off here } catch (e) { self.emit('finish', 0, ''); self._cleanup(false); }
3. Public information
Similar Posts:
- sockjs.js?9be2:1606 GET http://192.168.1.101:8080/sockjs-node/info?t=1583642185049 net::ERR_CONNE…
- @Vue / cli 3 supports error reporting sockets
- [Solved] Eslint Error: error ‘***’ is assigned a value but never used no-unused-vars
- Error during WebSocket handshake 403 [How to Solve]
- Error: Node Sass does not yet support your current environment: Windows 64-bit with Unsupport..
- Node Sass could not find a binding for your current environment: Linux 64-bit with Node.js 7.x
- [Solved] NPM downloads the dependency of the front-end Vue admin template master template Error
- [Solved] The server does not support writing the combination of value, status and timestamps provided
- [xviz] ./scripts/run-kitti-example.sh Excute Error: gyp ERR! Node-gyp failed to build your package.
- [Solved] Found bindings for the following environments: Windows 64-bit with Node.js 8.x