Uncaught Error: Module did not self-register

Alexis Schad picture Alexis Schad · Feb 12, 2015 · Viewed 79.7k times · Source

I try to use node-vlc with nw.js (v0.12.0-alpha2). When i launch my app without nw.js it works, but when i launch it with nw.js i got an error:

Uncaught Error: Module did not self-register.", source: /home/alexis/Bureau/dev/jukebox/node_modules/vlc/node_modules/ffi/node_modules/bindings/bindings.js (84)

I tried some commands with nw-gyp but it couldn't help me. I am on Ubuntu 14, 64-bit.

Answer

DiverseAndRemote.com picture DiverseAndRemote.com · Mar 4, 2015

If you've upgraded node then npm rebuild might fix this for you