ancienthero
Member since Apr 2017 • Last active Nov 2020Most recent activity
-
-
@tbd Yes, after hours of trial and error, this finally worked for me:
Install Xcode
Run sudo xcode-select -s /Applications/Xcode.app/Contents/Developerunfortunately it requires to install Xcode (5GB or so).
here is full thread: https://github.com/nodejs/node-gyp/issues/569
-
yes, updated node and npm...
Inspired by your suggestion I decided to reinstall
espruino
andespruino-cli
, I believe there is something wrong withespruino-cli
itself.Anyways, a clean install of
espruino
npm package and fixing XCode has solved it.
As I noticedespruino
package goes withespruino-cli
and installingespruino-cli
by itself creates havoc. Not mentioning thatnode-gyp
has its own problems with XcodeThank you for help!
-
Sad to say, but look like Command line tool is dead for me, I've spent 5 h or so trying to fix it..
I've been using command line. I prefer my own editor and I'm not a fan of copying large chunks of code from my editor into web IDE...
Updated npm packages and tried to connect like always, but got this:
https://gist.github.com/ancienthero/1e6d2e66350f20a393d73c0caa3ffda4Seemed like
espruino-cli
I decided to updateespruino-cli
but I got this:
https://gist.github.com/ancienthero/16f801d83d871b1e0b8997d0b386146aPlease help!
I've opened issues https://github.com/espruino/EspruinoTools/issues/66 , https://github.com/gzip/esp-cli/issues/2
-
Thank you!
Setters are the same but range of variables vary,
readDateTime()
is different because it returns date object instead of string, new features obviously don't break backward compatibility.By the way, how to make minified version on module? is this okay:
espruino -m DS3231.js -o DS3231.min.js
-
Hello
here is my version of DS3231 module, compatible with the javascript date object.
https://github.com/ancienthero/espruino/tree/master/modules/DS3231use it if you will ;)
feedback welcome as wellcheers
Interesting eslint configuration. I use very simple eslint config for espruino, but I'll consider using your file.