Track My Order
Frequently Asked Questions
International Shipping Info
Mon-Fri, 9am to 12pm and
1pm to 5pm U.S. Mountain Time:
Chat With Us
I was doing the experiment on the Magnetic Door Switch with SMS notification (https://learn.sparkfun.com/tutorials/experiment-guide-for-the-johnny-five-inventors-kit/experiment-5-reading-an-spdt-switch) 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: https://www.twilio.com/docs/libraries/node and changing the constructor and the switching the messages.create call to use promises, it works
Thanks for your amazing work!
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 Running monitor.js…
1483848840297 Device(s) Tessel 2 (willow)
Error: Cannot find module ‘socket.io-client/dist/socket.io.min.js’
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/socket.io/lib/index.js:1:1327)
at new e (/tmp/remote-script/node_modules/socket.io/lib/index.js:1:206)
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 socket.io 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.
Looks like socket.io-client 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 [ https://atom.io/ ], you might have issues installing depending on the directory and what permissions you have on the computer [ https://github.com/atom/atom/issues/5767 ]. 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 README.md [ https://github.com/atom/atom#windows ] or use a different text editor as stated in the SIK tutorial [ https://learn.sparkfun.com/tutorials/experiment-guide-for-the-johnny-five-inventors-kit/software-installation-and-setup ]:
We have t2 -version in the docs when the command is t2 --version
If you've found a bug or have other constructive feedback for our tutorial authors, please send us your feedback!
Forgot your password?
No account? Register one!