@chrishamm Thank you so much!
It didn't work indeed in standalone nodejs. However, that was easy to fix (in case anyone is interested).
Install @duet3d/connectors, @duet3d/objectmoddel and xhr2 package: npm install @duet3d/connectors npm install @duet3d/objectmodel npm install xhr2 Import XMLHttpRequest from xhr2 package in BaseConnector.js file const XMLHttpRequest = require("xhr2"); Import WebSocket from ws package in RestConnector.js: const WebSocket = require('ws');Then everything work as normal.