sockjs-node / info? t = error resolved

Npm run serve to start the project work in the morning, and then you see the console has been given:

He said he was the collapse of yesterday, have not reported this cross-domain problem, today suddenly o (╥﹏╥) o

View Network Interface info see is an error, I did not call off the project in the project, then Baidu query sockjs-node / info? T = 1562204191563,

First sockjs-node is a JavaScript library that provides a cross-browser JavaScript API, creates a low-latency, full-duplex between the browser and the web server communication channel.

Server: sockjs-node (https://github.com/sockjs/sockjs-node)
Client: sockjs-clien (https://github.com/sockjs/sockjs-client)

If, after your project does not use sockjs, vuecli3 run npm run serve network which has been a research interfaces: http://10.136.180.142:9424/sockjs-node/info?t=1562204191563

Solutions are as follows:

1. Find /node_modules/sockjs-client/dist/sockjs.js 

2. Locate the 1605 lines of code  

  {the try 
  // self.xhr.send (payload); where the note off 
  } the catch (E) { 
    self.emit ( 'Finish', 0, ''); 
    self._cleanup (to false); 
  }

3. Refresh, get.

 

Excerpt:

https://www.cnblogs.com/sichaoyun/p/10178080.html

Guess you like

Origin www.cnblogs.com/skylineStar/p/11130596.html