Experiment Guide for the Johnny-Five Inventor's Kit

Pages
Favorited Favorite 8

Troubleshooting

Error

If you are receiving an error when using the t2-cli similar to the output below:

>t2
/usr/local/lib/node_modules/t2-cli/bin/tessel-2.js:647 
module.exports.closeFailedCommand = function(status, options = {}) {
                                                             ^
SyntaxError: Unexpected token =

...

This may be due to the version of Node.js or t2-cli module that you are using. At the time of writing, the following examples were used with v4.4.5 LTS. The error above specifically was generated due to the different versions of Node.js and the t2-cli. User #1482565 was able to remedy the issue using Node v10.14.2 LTS and the latest t2-cli module (specifically v0.1.22).