isomorphic-autobahn Will import autobahn running in NodeJS env, and autobahn-browser if in browser. import { autobahn } from 'isomorphic-autobahn' Should pick ^20.9.2 version. I was just trying to fix my Electron app.