question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

v3.6.22 - ERROR LOADING PLUGIN homebridge-broadlink-rm, Error: Cannot find module 'hap-nodejs', Failed at the raw-socket@1.7.0 install script.

See original GitHub issue
pi@raspberrypi-3BPlus:~ $ sudo npm install -g homebridge-broadlink-rm
npm ERR! code ENOLOCAL
npm ERR! Could not install from "../../usr/local/lib/node_modules/homebridge-platform-helper" as it does not contain a package.json file.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2020-01-16T12_43_09_141Z-debug.log
pi@raspberrypi-3BPlus:~ $ node -v
v12.14.1
pi@raspberrypi-3BPlus:~ $ npm -v
6.13.6

2020-01-16T12_39_32_062Z-debug.log

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
lprhodescommented, Jan 16, 2020

Also I would not suggest installing home ridge-platform-helper separately as version conflicts could arise. This plugin is dependant on a feature branch version of platform-helper at the moment

0reactions
wylosmondcommented, Jan 30, 2020

oh, the solution from #540 have helped me.

install hap-nodejs manually by this line: npm install -g --unsafe-perm hap-nodejs@latest

Read more comments on GitHub >

github_iconTop Results From Across the Web

Homebridge_Broadlink RM fail... : r/homebridge - Reddit
New install of Homebridge (MacOS), install of Broadlink RM, Error... ERROR LOADING PLUGIN homebridge-broadlink-rm: Error: Cannot find module ...
Read more >
homebridge-broadlink-rm-pro - npm
Start using homebridge-broadlink-rm-pro in your project by running `npm i homebridge-broadlink-rm-pro`. There are no other projects in the ...
Read more >
Hap-nodejs - npm.io
HAP-NodeJS is a Node.js implementation of the HomeKit Accessory Server. ... Remember to run npm install and npm install --only=dev before actually running ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found