hybridgroup / cylon-tessel

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

Ambient module problem #4

Closed mulderp closed 10 years ago

mulderp commented 10 years ago

Hi!

I am trying to run the tessel with an Ambient module, I copied the example code, but I get:

$ node amb1.js
I, [2014-07-07T18:49:01.478Z]  INFO -- : Initializing connections.
I, [2014-07-07T18:49:01.480Z]  INFO -- : Initializing connection 'tessel'.
D, [2014-07-07T18:49:01.481Z] DEBUG -- : Loading adaptor 'tessel'.
Cannot find the 'cylon-tessel' module. Please install it with 'npm install cylon-tessel' and try again.

While in my node_modules directory I have:

 ls -ltr node_modules/
total 0
drwxr-xr-x  14 pmu  staff  476 Jul  7 20:47 cylon
drwxr-xr-x  13 pmu  staff  442 Jul  7 20:48 cylon-tessel
drwxr-xr-x  13 pmu  staff  442 Jul  7 20:48 cylon-i2c
drwxr-xr-x  13 pmu  staff  442 Jul  7 20:48 cylon-gpio
zankich commented 10 years ago

@mulderp did you follow these instructions? https://github.com/hybridgroup/cylon-tessel#getting-started

mulderp commented 10 years ago

Hey Adam, thanks, yes, I missed those instructions, but the error remains even after following those. There is some hint on the problem in the Tessel forums here: https://forums.tessel.io/t/firmware-error-when-running-ambient-module/465/3

I'll follow up in a moment.

mulderp commented 10 years ago

OK, now everything works with:

$ tessel run ambient.js