title: Error: Module did not self-register. (For onoff package require)
body: <p>I am trying to require the package "onoff" in js file on one of he node js project. When i run a js file i get error as below</p>
  
  <p>\node_modules\bindings\bindings.js:88
          throw e
          ^</p>
  
  <p>Error: Module did not self-register.</p>
  
  <pre><code>at Object.Module._extensions..node (module.js:670:18)
  
  at Module.load (module.js:560:32)
  
  at tryModuleLoad (module.js:503:12)
  
  at Function.Module._load (module.js:495:3)
  
  at Module.require (module.js:585:17)
  
  at require (internal/module.js:11:18)
  
  at bindings (\node_modules\bindings\bindings.js:81:44)
  
  at Object.&lt;anonymous&gt; (\node_modules\epoll\epoll.js:1:99)
  
  at Module._compile (module.js:641:30)
  
  at Object.Module._extensions..js (module.js:652:10)
  </code></pre>
  
  <p>Please help through this. </p>
  
  <p>Thanks in advance </p>
  
  <p>Pallavi K</p>