Wednesday 15 January 2014

node.js - Error: Cannot find module 'bonescript' in Cloud9 -



node.js - Error: Cannot find module 'bonescript' in Cloud9 -

i got error in cloud9 error: cannot find module 'bonescript' when next code excuted node.js

enter code here var b = require('bonescript'); b.pinmode('usr0', b.output); b.pinmode('usr1', b.output); b.pinmode('usr2', b.output); b.pinmode('usr3', b.output); b.digitalwrite('usr0', b.high); b.digitalwrite('usr1', b.high); b.digitalwrite('usr2', b.high); b.digitalwrite('usr3', b.high); settimeout(restore, 2000);

this code can executed command line: node blinkled.js in debian linus on beagelbone black without problem. can run on beaglebone.org web demo.

does know how solve issue?

i had searched , seek online solution 6 hours, not successful. thought might cloud9 config issue. contact cloud 9 back upwards no solution.

update: need utilize cloud9 on beaglebone black 192.168.7.2:3000 cloud9 on https://ide.c9.io cannot find right bonescript library

node.js

No comments:

Post a Comment