error loading plugin, Cannot find module 'hap-nodejs' with Homebridge V1.0 and up - fixed in Defensor7 fork
See original GitHub issue[4/27/2020, 12:15:38 PM] ERROR LOADING PLUGIN homebridge-broadlink-rm:
[4/27/2020, 12:15:39 PM] Error: Cannot find module 'hap-nodejs'
Require stack:
- /homebridge/node_modules/homebridge-broadlink-rm/node_modules/homebridge-platform-helper/dist/accessory.js
- /homebridge/node_modules/homebridge-broadlink-rm/node_modules/homebridge-platform-helper/dist/index.js
- /homebridge/node_modules/homebridge-broadlink-rm/platform.js
- /homebridge/node_modules/homebridge-broadlink-rm/index.js
- /usr/local/lib/node_modules/homebridge/lib/plugin.js
- /usr/local/lib/node_modules/homebridge/lib/pluginManager.js
- /usr/local/lib/node_modules/homebridge/lib/api.js
- /usr/local/lib/node_modules/homebridge/lib/index.js
- /usr/local/lib/node_modules/homebridge/lib/cli.js
- /usr/local/lib/node_modules/homebridge/bin/homebridge
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:980:15)
at Function.Module._load (internal/modules/cjs/loader.js:862:27)
at Module.require (internal/modules/cjs/loader.js:1042:19)
at require (internal/modules/cjs/helpers.js:77:18)
at Object.<anonymous> (/homebridge/node_modules/homebridge-broadlink-rm/node_modules/homebridge-platform-helper/src/accessory.ts:3:1)
at Module._compile (internal/modules/cjs/loader.js:1156:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1176:10)
at Module.load (internal/modules/cjs/loader.js:1000:32)
at Function.Module._load (internal/modules/cjs/loader.js:899:14)
at Module.require (internal/modules/cjs/loader.js:1042:19)
[4/27/2020, 12:15:39 PM] ====================
Issue Analytics
- State:
- Created 3 years ago
- Comments:12
Top Results From Across the Web
Node Update Error : r/homebridge - Reddit
When I attempt to update to v16.13.2 and v8.1.2, I receive the following error logs.. Error: Cannot find module 'bonjour'. r/homebridge - ...
Read more >How to fix : cannot find Module error in while running the npm ...
In my application, npm run build command throws a module not found error as below: npm WARN npm npm does not support Node.js...
Read more >HomeKit and Particle Photon integration - Project Share
Here in this sample, I am using Homebridge and HAP-NodeJS to emulate HomeKit API. ... Loading 1 accessories... module.js:338 throw err; ^ Error:...
Read more >Top 5 hap-nodejs Code Examples - Snyk
uuid); // Identification Event bridge.on('identify', (paired, callback) => { console.logger.info('HomeKit paired:', paired); callback(); }); const modules = ...
Read more >homebridge: Versions - Openbase
Upgrade hap-nodejs to v0.10.4 containing minor bug fixes by @Supereg ... Homebridge will no longer crash if a plugin cannot be found for...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I installed Defensor7/homebridge-broadlink-rm plugin which is a fork of this one and it is working also with RM3mini. He fixed it in his fork.
It feels like this plugin has been abandoned by the creator.