I was working on a new project using node 18 on my mac dev machine and got an error while trying to run said project.
Error was Error: Module did not self-register: '/Volumes/Development/projects/pandore/piadvanced/node_modules/i2c-bus/build/Release/i2c.node'.
It used to work fine on node 14.
Tried different things but what worked was actually getting the native bindings to compile and be declared properly on macos.
Might be useful to anyone working on macs.
I was working on a new project using node 18 on my mac dev machine and got an error while trying to run said project. Error was
Error: Module did not self-register: '/Volumes/Development/projects/pandore/piadvanced/node_modules/i2c-bus/build/Release/i2c.node'.
It used to work fine on node 14. Tried different things but what worked was actually getting the native bindings to compile and be declared properly on macos. Might be useful to anyone working on macs.