itsmepetrov / homebridge-zigbee

ZigBee Platform plugin for HomeBridge
https://itsmepetrov.github.io/homebridge-zigbee/
MIT License
106 stars 36 forks source link

Instillation Issue #37

Open samuals151 opened 5 years ago

samuals151 commented 5 years ago

I cant get this to install keep getting the following error:

41 error path git 42 error code ENOENT 43 error errno ENOENT 44 error syscall spawn git 45 error enoent Error while executing: 45 error enoent undefined ls-remote -h -t ssh://git@github.com/itsmepetrov/zcl-id.git 45 error enoent 45 error enoent 45 error enoent spawn git ENOENT 46 error enoent This is related to npm not being able to find a file. 47 verbose exit [ 1, true ]

matzZz commented 5 years ago

same here...

npm ERR! path git npm ERR! code ENOENT npm ERR! errno ENOENT npm ERR! syscall spawn git npm ERR! enoent Error while executing: npm ERR! enoent undefined ls-remote -h -t ssh://git@github.com/itsmepetrov/zcl-id.git npm ERR! enoent npm ERR! enoent npm ERR! enoent spawn git ENOENT npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent

matzZz commented 4 years ago

i have a solution.

you have to install git. sudo apt-get install git and sudo usermod -a -G dialout homebridge

then works fine.

samuals151 commented 4 years ago

Yup that fixed it, although I also had to download the zip folder and add it manually but it runs correctly

Just doesn’t support my device after all that

Olepir commented 4 years ago

Yup that fixed it, although I also had to download the zip folder and add it manually but it runs correctly

Just doesn’t support my device after all that

Which device you have?

juancpin commented 4 years ago

Folx, I updated git but it keeps saying on install:

npm WARN deprecated homebridge-lib2.0.0: Latest version: 3.0.1 npm WARN saveError ENOENT: no such file or directory, open '/home/juancpin/package.json' npm WARN enoent ENOENT: no such file or directory, open '/home/juancpin/package.json' npm WARN juancpin No description npm WARN juancpin No repository field npm WARN juancpin No README file npm WARN juancpin No license field

And then, if I try running homebridge (after adding "ZigBeePlatform" in config.json):

[28/9/2019 19:04:39] Error: The requested platform 'ZigBeePlatform' was not registered by any plugin. at API.platform (/usr/local/lib/node_modules/homebridge/lib/api.js:134:13) at Server._loadPlatforms (/usr/local/lib/node_modules/homebridge/lib/server.js:327:45) at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:90:36) at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:59:10) at Object. (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22) at Module._compile (internal/modules/cjs/loader.js:689:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10) at Module.load (internal/modules/cjs/loader.js:599:32) at tryModuleLoad (internal/modules/cjs/loader.js:538:12) at Function.Module._load (internal/modules/cjs/loader.js:530:3) at Function.Module.runMain (internal/modules/cjs/loader.js:742:12) at startup (internal/bootstrap/node.js:283:19) at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)

[28/9/2019 19:04:39] Got SIGTERM, shutting down Homebridge...

Don't know what to do 😢

rcaceiro commented 4 years ago

I have the same problem