Skip to content

incompatible with homebridge-ws due to old agent-base #14

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
apexad opened this issue May 20, 2020 · 2 comments
Closed

incompatible with homebridge-ws due to old agent-base #14

apexad opened this issue May 20, 2020 · 2 comments
Labels
bug Something isn't working dependencies Pull requests that update a dependency file question Further information is requested

Comments

@apexad
Copy link
Owner

apexad commented May 20, 2020

Bug or issue information

Include as much detail as possible including what is happening and what is expected.

Incompatible with https://www.npmjs.com/package/homebridge-ws
Issue is due to old agent-base being included as a dependency (see logs).

Homebridge setup information

Include if you are running homebridge directly, using HOOBS, etc...
Include details about your configuration if needed, but do not include any email address or password.
Include node version, if known.

Homebridge 1.10
Node 12

Logs

Include logs here. Be sure to remove any user identifiable information.

sudo npm ls -g agent-base
/usr/lib
├─┬ [email protected]
│ └─┬ [email protected]
│   └─┬ [email protected]
│     └─┬ [email protected]
│       └─┬ [email protected]
│         ├── [email protected]
│         ├─┬ [email protected]
│         │ └── [email protected]  deduped
│         ├─┬ [email protected]
│         │ └── [email protected]  deduped
│         ├─┬ [email protected]
│         │ └── [email protected]  deduped
│         └─┬ [email protected]
│           └── [email protected]
[5/19/2020, 19:01:12] [Weather] Milwaukee,WI,USA: warning: TypeError [ERR_INVALID_ARG_TYPE] [ERR_INVALID_ARG_TYPE]: The "listener" argument must be of type function. Received an instance of Object
    at checkListener (events.js:109:11)
    at ClientRequest.once (events.js:431:3)
    at new ClientRequest (_http_client.js:194:10)
    at Object.request (https.js:314:10)
    at Object.<anonymous> (/usr/lib/node_modules/homebridge-mysmartblinds-bridge/node_modules/agent-base/patch-core.js:25:22)
    at Object.request (/usr/lib/node_modules/homebridge-mysmartblinds-bridge/node_modules/socks-proxy-agent/node_modules/agent-base/patch-core.js:23:20)
    at HttpClient.request (/usr/lib/node_modules/homebridge-ws/node_modules/homebridge-lib/lib/HttpClient.js:226:32)
    at HttpClient.get (/usr/lib/node_modules/homebridge-ws/node_modules/homebridge-lib/lib/HttpClient.js:136:17)
    at WsPlatform.weather (/usr/lib/node_modules/homebridge-ws/lib/WsPlatform.js:72:26)
    at WsAccessory.heartbeat (/usr/lib/node_modules/homebridge-ws/lib/WsAccessory.js:60:48)
    at WsAccessory.emit (events.js:323:22)
    at WsAccessory.emit (/usr/lib/node_modules/homebridge-ws/node_modules/homebridge-lib/lib/Delegate.js:172:13)
    at WsPlatform._heartbeat (/usr/lib/node_modules/homebridge-ws/node_modules/homebridge-lib/lib/Platform.js:307:38)
    at WsPlatform._beat (/usr/lib/node_modules/homebridge-ws/node_modules/homebridge-lib/lib/Platform.js:288:42)
    at Timeout._onTimeout (/usr/lib/node_modules/homebridge-ws/node_modules/homebridge-lib/lib/Platform.js:278:12)
    at listOnTimeout (internal/timers.js:549:17)
    at processTimers (internal/timers.js:492:7)
@apexad apexad added bug Something isn't working invalid This doesn't seem right question Further information is requested help wanted Extra attention is needed and removed invalid This doesn't seem right labels Jun 4, 2020
@apexad apexad added dependencies Pull requests that update a dependency file and removed help wanted Extra attention is needed labels Sep 21, 2020
@apexad
Copy link
Owner Author

apexad commented Sep 30, 2020

Still no update from auth0, several developers have opened this issue in regards to different libraries. I created auth0/node-auth0#490 (which is closed, but other similar linked issues are open still).

@apexad
Copy link
Owner Author

apexad commented Oct 14, 2020

agent-base has been upgraded to the newest version. This is now resolved.

@apexad apexad closed this as completed Oct 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dependencies Pull requests that update a dependency file question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant