WebThingsIO / thing-url-adapter

Proxy adapter for Web Thing API endpoints
Mozilla Public License 2.0
22 stars 18 forks source link

Failed to manual install #24

Closed OlavGullaksen closed 6 years ago

OlavGullaksen commented 6 years ago

Hi there, I followed the instructions for manual installation in the Readme file and it looks like the shell script has errors: image I have the application running on a RPi 3 originally installed with the Mozilla IoT image downloaded and updated with apt-get update and apt-get upgrade commands. When will version 0.4 be released? I can see the thing-url-adapter will be pre-installed with this revision and this could solve my current issues. Thanks a lot for your efforts.

mrstegeman commented 6 years ago

If you're running with the master branch of the gateway (and are updated to the latest HEAD), you can now install this add-on via the UI instead of manually.

If, however, you're running one of the 0.3.X releases, you can make the package.sh script work as follows:

$ npm i -g yarn  # you may have to run this as 'sudo'
$ ./package.sh   # do NOT run as `sh package.sh`