Open skysea opened 7 years ago
It because latest node ws module removes the upgradeReq property from the WebSocket object https://github.com/websockets/ws/pull/1099
Yah seems new node did an update to upgradeReq, this is used in our client to pinpoint origen etc, down side is, it not revere compatible, so it either go full new node, or stay with an older one till it more ironed out.
Thank you for answer. Nodejs which version I use
i use 7.4.0
Nodejs version 7.4.0 has the same error
Node.js v7.4.0 (linux x64) Chrome's V8 JavaScript engine v5.4.500.45
is what i run
I will also try 7.0.0. :)
7.0.0 version The same error again
you forgetting to remove and re get the ws modules, meaning only changing the node not downgrades the modules installed. remove the modules folder and re get them once older version of node is installed.
i solved this problem like this, npm remove ws npm install ws@2.x
Hi I am getting the error in the picture can you help