I’m trying to debug the UI, I’m sure I’m doing something wrong in my build. Any advice would be greatly appreciated.
Getting this error:
/genieacs/node_modules/mithril/render.js:3
module.exports = require("./render/render")(window)
^
genieacs/node_modules/mithril/render.js:1
ReferenceError: window is not defined
at Object. (genieacs/node_modules/mithril/render.js:3:45)
at Module._extensions…js (internal/modules/cjs/loader.js:827:10)
at Object.require.extensions.(anonymous function) (genieacs/node_modules/ts-node/dist/index.js:341:20)
Waiting for the debugger to disconnect…