dgreif / homebridge-hatch-baby-rest

A homebridge plugin for Hatch Baby Rest night light
MIT License
74 stars 19 forks source link

failed install #29

Closed michaeltorbert closed 3 years ago

michaeltorbert commented 3 years ago

I tried both through the config UI X and just doing it in the command line but get the same result. Is there some sort of dependency that's failing? Let me know if there's anything I can do on my end, or if you need any of the actual log.

Screen Shot 2020-10-20 at 4 15 06 PM Screen Shot 2020-10-20 at 4 15 36 PM
dgreif commented 3 years ago

@michaeltorbert it's failing to build the bluetooth dependencies needed for the original Hatch Rest nightlight. Are you using a Rest or Rest+ (wifi) night light? Could you also provide the following:

Operating System: Node Version: Npm Version:

michaeltorbert commented 3 years ago

@dgreif I'm using this https://smile.amazon.com/gp/product/B06XMRCC94

Operating System: MacOS 10.15.4 Node Version: 14.13.0 Npm Version: 6.14.8

dgreif commented 3 years ago

@michaeltorbert see https://medium.com/flawless-app-stories/gyp-no-xcode-or-clt-version-detected-macos-catalina-anansewaa-38b536389e8d

simplytoast1 commented 3 years ago

@dgreif Should I follow the same guide for the Rest+ (WiFi)

dgreif commented 3 years ago

@ddorato if you are seeing the same error (gyp: No XCode or CLT version detected!), then yes. Based on previous interactions, I assumed you already had the plugin up and running

simplytoast1 commented 3 years ago

1 Fantastic memory... #2 New Machine.. SMH... Stupid simple solution, thx!

kriskoeller commented 3 years ago

I'm also having a failed install on a Raspberry Pi as per the screen shot. Updated NodeJS and NPM. Attempting to connect to a Hatch Baby Rest +.

Screen Shot 2020-10-26 at 5 54 59 PM
michaeltorbert commented 3 years ago

Ok I installed xcode and it works.

dgreif commented 3 years ago

Closing since @michaeltorbert got his figured out. @kriskoeller feel free to open a new issue if you are still having problems