Comments: Experiment Guide for the Johnny-Five Inventor's Kit


Looking for answers to technical questions?

We welcome your comments and suggestions below. However, if you are looking for solutions to technical questions please see our Technical Assistance page.

  • Member #1482565 / about 5 years ago / 2

    I just got my tessel 2 and hit an immediate stumbling block because the t2-cli module no longer works with old versions of node, I got a very unhelpful error:

    module.exports.closeFailedCommand = function(status, options = {}) {
    SyntaxError: Unexpected token =

    Eventually I figured out it was introduced by this change:

    So I installed t2-cli@0.1.18 and then things worked again.

  • We have t2 -version in the docs when the command is t2 --version

  • Member #1425543 / about 6 years ago / 1

    Hello! I was doing the experiment on the Magnetic Door Switch with SMS notification ( and I had to change a few things to make it work: - The Twilio website has changed a little bit so the screenshots are not completely the same, but no big deal, with the links that are provided it was easy to find what we needed (the SID and Token) - The twilio API has changed and the code in the examples doesn't run anymore. By following this doc: and changing the constructor and the switching the messages.create call to use promises, it works Thanks for your amazing work!

  • Member #752339 / about 7 years ago * / 1

    When deploying Experiment 10: Using the BME280 I get the following error: `j5ik $ t2 run monitor.js INFO Looking for your Tessel... INFO Connected to willow. INFO Building project. INFO Writing project to RAM on willow (2388.992 kB)... INFO Deployed. INFO Running monitor.js... 1483848840297 Device(s) Tessel 2 (willow)
    module.js:327 throw err; ^

    Error: Cannot find module '' at Function.Module._resolveFilename (module.js:325:15) at Function.require.resolve (internal/module.js:16:19) at e.serveClient (/tmp/remote-script/node_modules/ at new e (/tmp/remote-script/node_modules/ at Object.<anonymous> (/tmp/remote-script/monitor.js:16:10) at Module._compile (module.js:409:26) at Object.Module._extensions..js (module.js:416:10) at Module.load (module.js:343:32) at Function.Module._load (module.js:300:12) at Function.Module.runMain (module.js:441:10)`

    I've tried reinstalling both as instructed and with the -g option but cannot get past the error. There is another post in the forums that mentions the same problem with the Recon bot.



    • rwaldron / about 7 years ago / 1

      Looks like relocated some static file assets which are whitelisted by t2-cli's deployment process. There is a patch to fix this which should land today and a release will follow shortly thereafter (probably also today).

  • -------------------- Tech Support Tips/Troubleshooting/Common Issues --------------------

    Issues Installing Atom Text Editor?

    If you have issues installing the Atom Text Editor [ ], you might have issues installing depending on the directory and what permissions you have on the computer [ ]. Try to save the installer in your C:\ drive or on your desktop. Also, make sure that you install as an administrator.

    You can manually install the Atom text editor by following the instructions in the [ ] or use a different text editor as stated in the SIK tutorial [ ]:

    You will need a text editor in which to edit and save your JavaScript files. This means a plain text editor, not a Word document. If you’ve already got one, like SublimeText, Notepad++, vim, etc., groovy. If not, go ahead and install Atom.

If you've found an issue with this tutorial content, please send us your feedback!