WebThingsIO / thing-url-adapter

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

Failed to load add-on: thing-url-adapter #10

Closed DurandA closed 6 years ago

DurandA commented 6 years ago

The thing-url-adapter fails to load on my Ubuntu 16.04 installation.

Since there were a lot of updates recently, I removed ~/.mozilla-iot/config/ and reinstalled the Things Gateway.

After startup, the gateway output:

WARNING in ./src/addon-manager.js
37:9-16 Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
 @ ./src/addon-manager.js
 @ ./src/app.js
Opening database: /home/duranda/.mozilla-iot/config/db.sqlite3
2018-03-25 23:51:11.246 Listening on port 4443
2018-03-25 23:51:11.255 Redirector listening on port 8080
2018-03-25 23:51:11.276 Not checking SHA256SUMS file for thing-url-adapter since a .git directory was detected
2018-03-25 23:51:11.331 Package not enabled: thing-url-adapter
2018-03-25 23:51:11.331 Failed to load add-on: thing-url-adapter
Package not enabled: thing-url-adapter
2018-03-25 23:51:21.247 Checking for add-on updates...
2018-03-25 23:51:21.461 Not updating thing-url-adapter since a .git directory was detected

I am using latest git version b81d50bdca9d7289d8ee8ea98f9451f9768c510d.

mrstegeman commented 6 years ago

It just says that the package is not enabled. You'll need to enable it in the UI via Settings -> Add-ons.

DurandA commented 6 years ago

Thanks! I feel like an idiot.