Setting up socket

Hello a while a go i used and it looks like it has changed ago and i am just trying to set up a basic thing


also has error:
(function (exports, require, module, __filename, __dirname) { import { Server } from “”;
SyntaxError: Unexpected token import

maybe your node.js version changed. if you didn’t change anything, it’s probably from some versions being removed. can you try updating the engines.node in your package.json