tessel / t1-runtime

[UNMAINTAINED] Tessel 1 JavaScript runtime.
Other
117 stars 33 forks source link

Can't run blinky example if tessel module is installed locally. #731

Closed yuskesh closed 1 year ago

yuskesh commented 9 years ago

The title says.

If the tessel module is installed locally, We can't run a tessel application.

➜  blinky  tessel run index.js
TESSEL! Connected to TM-00-04-f000da30-0046473d-10b02586.
INFO Bundling directory /Users/me/tmp/blinky
INFO Deploying bundle (13.30 MB)...

The deployment seems it never ends. But if the locally installed tessel module is removed, we can run the app without any problem.

➜  blinky  tessel run index.js
TESSEL! Connected to TM-00-04-f000da30-0046473d-10b02586.
INFO Bundling directory /Users/me/tmp/blinky
INFO Deploying bundle (4.50 KB)...
INFO Running script...
  1. As a node.js develper, we try to run the app by like "node app.js" as an usual habit.
  2. And then, the program returns an error Cannot find module 'tessel'.
  3. So, we install the module and retry with "node app.js".
  4. But we can't run the app anyway because we don't use "tessel command".
  5. Someone advises us to try the command.
  6. Yes, finally, and we try the command and fail because of the locally installed tessel module.

It would be great if we can have some explicit instruction not to install tessel module locally.