Open mspcbs opened 2 years ago
Check your https://github.com/getnamo/socketio-client-ue4-example/blob/master/server/package.json, maybe some of the dependencies need to be upgraded
Had the same issue. I've resolved this by installing the newest nodejs eg: https://nodejs.org/dist/v18.2.0/node-v18.2.0-x64.msi
.
Run npm install
again in the server folder.
@getnamo pls update the download link to one proposed and this issue will be resolved.
\socketio-client-ue4-example-1.6.0\socketio-client-ue4-example-1.6.0\server\node_modules\ws\lib\websocket.js:416 ...options ^^^
SyntaxError: Unexpected token ... at createScript (vm.js:74:10) at Object.runInThisContext (vm.js:116:10) at Module._compile (module.js:533:28) at Object.Module._extensions..js (module.js:580:10) at Module.load (module.js:503:32) at tryModuleLoad (module.js:466:12) at Function.Module._load (module.js:458:3) at Module.require (module.js:513:17) at require (internal/module.js:11:18) at Object. (\socketio-client-ue4-example-1.6.0\socketio-client-ue4-example-1.6.0\server\node_modules\ws\index.js:3:19)