Now that Pebble servers are gone, some old components in the SDK need to be patched or replaced so they can fetch what they need from Rebble.
This script downloads and installes everything needed to build projects and also run the emulator.
Was tested on Ubuntu 18.04.2 on WSL.
I'm on Ubuntu/WSL/Windows 10. I get an error as
python2.7-pip
doesn't exist. At line 4, change is topython-pip
.I also get a persistent failure during
pebble sdk install latest
. When installing JS deps, there is a silent error and then the installer rolls back. Removing the --silent args in manager.py reveals an npm cache file permissions error. npm responds with a recommended solution:sudo chown -R 1000:1000 "~/.npm"
`
Thanks so much for the script - saves much work and digging around!
FWIW ~
DLT