marcoraddatz / homebridge-docker

Dockerized Homebridge. No plugins pre-defined, hassle-free setup. Read instructions!
Apache License 2.0
127 stars 47 forks source link

Plugins are not installing #18

Closed Crady123 closed 7 years ago

Crady123 commented 7 years ago

Hi,

I would like to install 2 plugins: homebridge-homematic and homebridge-netatmo

my install.sh: npm install -g homebridge-homematic npm install -g homebridge-netatmo

both plugins are not installed and so homebridge does not find and plugins and shuts down itself.

what to do?

Error:

npm ERR! Cannot read property 'path' of null stdout 13:42:57

Crady123 commented 7 years ago

according to this:

https://github.com/npm/npm/issues/11515

there might be a typo or a language... you developed in english - I am using German language,,,

marcoraddatz commented 7 years ago

If it's written in one line, it must be npm install -g homebridge-homematic && npm install -g homebridge-netatmo.

However, this is not related to Homebridge itself, but to bash/plugins instead.

Crady123 commented 7 years ago

Thank you for your answer. Suddenly it worked... not sure what happened - but I think there might have been a problem with the install.sh....

I just createt a new file, did a copy&paste from your manual. Perhaps some bad but invisible characters came into my first install.sh?

I have editied my install.sh unisg the text editor from synology in the filestation later and then it worked.

marcoraddatz commented 7 years ago

Glad to hear that!