1

I'm having this problem when I try to run my node.js app. I have tried to remove my node_modules folder and then npm install but that doesn't work. Any idea?

Thanks!

This is the error :

node_modules/bindings/bindings.js:83
        throw e
        ^

Error: Module did not self-register.
    at Error (native)
    at Object.Module._extensions..node (module.js:440:18)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Module.require (module.js:367:17)
    at require (internal/module.js:16:19)
    at bindings (/.../.../react-rpi/node_modules/bindings/bindings.js:76:44)
    at Object.<anonymous> (/.../.../react-rpi/node_modules/epoll/epoll.js:1:99)
mscdex
  • 104,356
  • 15
  • 192
  • 153
LuisPinto
  • 1,667
  • 1
  • 17
  • 36

1 Answers1

1

It is possible that you are trying to run a native module that did not compile for your architecture / peripherals.

Please comment those packages out (raspberry-gpio, libusb and others) and try to work it out from there.

jsdario
  • 6,477
  • 7
  • 41
  • 75