host-global-declared-websocket.ts:13:16 - error SC2020: 'WebSocket' is a Node global that native code does not provide

  12 | };
  13 | const socket = WebSocket("ws://localhost:8080");
     |                ^~~~~~~~~
  14 | console.log(socket.readyState);

  hint: the class exists at run time in Node 24, and native code cannot construct it or provide its members; run the module in a Node island (--node-islands=auto) or avoid the use