Closed joelkraft closed 7 years ago
Make sure devices.json
is set to 115200 not 9600.
I know I already talked about it in Slack, but I'm having a similar issue:
> hello_world@0.0.0 push /Users/matthew/Desktop/Code_Things/IoT/hello_world
> node ./scripts/push && npm run repl
Treeshaking code...
Sending code to device - /dev/cu.SLAB_USBtoUART @ 115200 baud...
espruino: Espruino Command-line Tool 0.0.21
-----------------------------------
espruino: Connecting to '/dev/cu.SLAB_USBtoUART'
espruino: No result found - just got ""
espruino: Connected
> hello_world@0.0.0 repl /Users/matthew/Desktop/Code_Things/IoT/hello_world
> node ./scripts/repl
Connecting REPL...
espruino: Espruino Command-line Tool 0.0.21
-----------------------------------
espruino: Connecting to '/dev/cu.SLAB_USBtoUART'
espruino: No result found - just got ""
espruino: Connected
Then is just hangs until I Ctrl+C out. I've tried both baud rates, flashing and reflashing the ESP8266, creating new projects with thingssdk new something
, deleting and reinstalling node_modules, etc. Board seems to get power and LED on board blinks when it's booted, but it's not running the program.
Mac OSX Sierra with Node 6.8 (although I've tried 4.6 and it fails because of ES6).
Edit: thingssdk version 1.0.0
@joelkraft and @matthewbryancurtis You still having issues?
@chalkers, I am not.
Yes @chalkers. :(
@craigsdennis my devices.json is set to 115200.
I tried npm update
as well, didn't work.
Here is the latest (appears to be a loop):
> mozilla@0.0.0 push /Users/joelkraft/Documents/Code/Projects/thingssdk/mozilla
> node ./scripts/push && npm run repl
Treeshaking code...
Sending code to device - /dev/cu.SLAB_USBtoUART @ 115200 baud...
espruino: Espruino Command-line Tool 0.0.21
-----------------------------------
espruino: Connecting to '/dev/cu.SLAB_USBtoUART'
espruino: No result found - just got ""
espruino: Connected
> mozilla@0.0.0 repl /Users/joelkraft/Documents/Code/Projects/thingssdk/mozilla
> node ./scripts/repl
Connecting REPL...
espruino: Espruino Command-line Tool 0.0.21
-----------------------------------
espruino: Connecting to '/dev/cu.SLAB_USBtoUART'
espruino: No result found - just got ""
espruino: Connected
Hmmm @joelkraft looks like you're still using older stuff. We'll have to figure out how to nix it.
I generated a new project after reinstalling thingssdk-cli, and copied in my other main.js file and it worked! Case closed.
This was working, now it isn't. Connecting to NodeMCU v2 board with a macbook air, running OSX Yosemite (10.10.5), when I run
npm run push
, I don't get blinking lights (modified hello world), and I'm getting the following output: