Rebuilt native Node module with correct NODE_MODULE_VERSION

I'm trying to create a custom module that requires a native Node module but it throws me an error because my Node version is different and I have to rebuilt it with the correct version.

Do I have to use the Node version of Open Stage to do that?

Open stage control ships with node v16.5.0, you should be able to make it work if you build the package with this version.

1 Like

Thanks, unfortunately I think Node v16.5.0 uses a different NODE_MODULE_VERSION than Electron's Node v16.5.0 93 vs 98

I still get the error.

Solved with electron-rebuild after a bit of googling. Thanks

How are you launching open stage control exactly ?