stjohnjohnson / smartthings-mqtt-bridge

Bridge between SmartThings and MQTT
https://hub.docker.com/r/stjohnjohnson/smartthings-mqtt-bridge/
MIT License
363 stars 242 forks source link

Cannot install due to dependency regression #192

Open mitchellrj opened 5 years ago

mitchellrj commented 5 years ago
npm ERR! peerinvalid The package joi@13.7.0 does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer express-joi-validator@2.0.0 wants joi@6.x.x

It seems the creator of express-joi-validator has deleted the source repo and package from npm, and to try to help resolve this, @imjoshholloway has uploaded an older version that pins joi to 6.0.0 instead of 13.x.x. I assume the previous package owner, @threadster didn't bump versions of express-joi-validator properly when changing its dependency pins.

Either the upstream package needs fixing, or maybe this one should reevaluate depending on a package that is now under new ownership and hasn't been maintained in 4 years.

imjoshholloway commented 5 years ago

Sorry for the inconvenience here @mitchellrj . A previous employer must've removed their github account. I found a old archive lying around that had the repo in and I've published that to npm with the version 2.0.1. That said, YMMV

mitchellrj commented 5 years ago

Brilliant, thanks for your help @imjoshholloway.

mitchellrj commented 5 years ago

Leaving this issue open as I still think reliance on this unmaintained package should be reconsidered.

pittbull commented 5 years ago

I am struggling to get this running as neither the docker nor npm approach is working.

As I am not familiar with npm could I get some assistance to resolve this dependency conflict?