I am trying to run some codes using cylonjs framework. I didn't have any problem earlier, after I install rasbian jessi fresh copy, I get errors.
When I try to execute javascript using
node example.js
I am getting this error.
/root/node_modules/cylon/lib/registry.js:44 throw e; ^ Error: Could not locate the bindings file. Tried: → /root/node_modules/i2c-bus/build/i2c.node → /root/node_modules/i2c-bus/build/Debug/i2c.node → /root/node_modules/i2c-bus/build/Release/i2c.node → /root/node_modules/i2c-bus/out/Debug/i2c.node → /root/node_modules/i2c-bus/Debug/i2c.node → /root/node_modules/i2c-bus/out/Release/i2c.node → /root/node_modules/i2c-bus/Release/i2c.node → /root/node_modules/i2c-bus/build/default/i2c.node → /root/node_modules/i2c-bus/compiled/7.8.0/linux/arm/i2c.node at bindings (/root/node_modules/bindings/bindings.js:88:9) at Object. (/root/node_modules/i2c-bus/i2c-bus.js:4:28) at Module._compile (module.js:571:32) at Object.Module._extensions..js (module.js:580:10) at Module.load (module.js:488:32) at tryModuleLoad (module.js:447:12) at Function.Module._load (module.js:439:3) at Module.require (module.js:498:17) at require (internal/module.js:20:19) at Object. (/root/node_modules/cylon-raspi/lib/i2c.js:36:37)
I have installed Cylonjs using this official guide.My Node version v7.8.0 and Nodejs version is v0.10.29 and I am using Raspberry-pi3
I am new for Cylonjs, so any help would be greatly appreciated.
Thanks in advance.
via Sachith
No comments:
Post a Comment