hybridgroup / cylon-tessel

Cylon adaptor for the Tessel
http://cylonjs.com
Other
13 stars 3 forks source link

LED test script error #14

Closed gauravhub closed 9 years ago

gauravhub commented 9 years ago

I am trying to run LED sample program and followed following steps

$ cylon generate tessel my-tessel-project $ cd my-tessel-project $ npm install $ tessel run blink.js

TESSEL! Connected to TM-00-04-f000da30-005d4f38-34942586. INFO Bundling directory INFO Deploying bundle (18.10 MB)... INFO Running script... /app/node_modules/cylon/lib/lodash.js:33: attempt to index upvalue 'vr' (a nil v alue)

stewart commented 9 years ago

Hi @gauravhub - apologies for the issue. The minifier is obscuring it a bit, but this is caused by this underlying issue in Tessel's runtime: https://github.com/tessel/runtime/issues/682.

We're trying to figure out a band-aid fix for now, and will get back to you when we have one.

stewart commented 9 years ago

I've pushed a branch that removes the lo-dash build from Cylon, which seems to correct the issue at hand.

You can add it to my-tessel-project with the following command:

$ npm install git://github.com/hybridgroup/cylon.git#tessel

And then run your script (tessel run blink.js) again.

Please let me know if this fixes your problem.

gauravhub commented 9 years ago

Thanks @stewart...I am able run the LED script sample now

deadprogram commented 9 years ago

Looks like this issue was resolved. Closing.