6 Replies Latest reply on Dec 20, 2015 3:00 PM by massca

    mraa library error after updating to node 0.12.5


      I'm using node.js on Edison. I updated node.js to 0.12.5 version with this instruction: Re: [HELP] I'm having trouble updating to node 0.12.5

      I let the 'make' command run over night then found my laptop sleeping, but the Edison board was still turned on. Then I ran 'make install' without any error.

      However, the upgrade, including mraa library shows the error below. Why does this happen and what should I do to get mraa included successfully?


      root@Eddie:~/AIRDispenser# node --version


      root@Eddie:~/AIRDispenser# node

      > var mraa = require('mraa')

      Error: Module did not self-register.

          at Error (native)

          at Module.load (module.js:355:32)

          at Function.Module._load (module.js:310:12)

          at Module.require (module.js:365:17)

          at require (module.js:384:17)

          at repl:1:12

          at REPLServer.defaultEval (repl.js:132:27)

          at bound (domain.js:254:14)

          at REPLServer.runBound [as eval] (domain.js:267:12)

          at REPLServer.<anonymous> (repl.js:279:12)