[beagleboard] Re: i2c-bus - A new Node.js I2C module

2015-09-02 Thread Brian Cooke
This is an odd place for a question about the Raspberry Pi :) A guess would be that i2c-bus, which is a native addon, was installed with one version of Node.js but is being run with another version of Node.js. Reinstall i2c-bus and try again. -- For more options, visit http://beagleboard.org/d

[beagleboard] Re: i2c-bus - A new Node.js I2C module

2015-08-27 Thread dipto . pratyaksa
Why do I get this error? I was just including i2c-bus in the project like this. I am using nodejs v0.10.40 on Raspberry Pi 2 Raspbian: var i2c = require('i2c-bus'); pi@raspberrypi ~/Projects/noderadio $ sudo nodejs noderadio2.js /home/pi/Projects/noderadio/node_modules/i2c-bus/node_modules/bin