Custom Node addon built with cmake-js doesn't register


#1

Just using this tutorial https://github.com/cmake-js/cmake-js/wiki/TUTORIAL-01-Creating-a-native-module-by-using-CMake.js-and-NAN
Everything builds fine, and I build against Electron runtime 1.0.1, but when I try to use the module,
module.exports = require(“bindings”)(“addon”);
I get:
Error: Module did not self-register.

I shouldn’t have to do anything else if it’s built against the electron headers, right? Help!