NorthernMan54 / homebridge-dht

Homebridge plugin for DHT22 Temperature / Humidity Sensors
73 stars 14 forks source link

Error on install #46

Closed mikekenyon99 closed 4 years ago

mikekenyon99 commented 4 years ago

Hi - I have working Homebridge Pi Zero but when I install this package I get the following error (see screenshot). I have installed other plugin's and they worked fine. I'm sure it's my mistake but I can't work it out.

Thanks

Mike

Annotation 2020-08-18 170507
NorthernMan54 commented 4 years ago

Try this instead

sudo su -
sudo npm install -g homebridge-dht

This is a NPM/NODE-GYP issue and not really a plugin issue

mikekenyon99 commented 4 years ago

Hi apologies if it's not the plugin's issue - I'm still getting the same issue though. I will look it up and if I find a solution will post back here to help other people.

NorthernMan54 commented 4 years ago

There is this on google

https://github.com/aws-amplify/amplify-cli/issues/2023

mikekenyon99 commented 4 years ago

Worked a treat that. Thanks.