hjdhjd / homebridge-myq

:car: myQ Liftmaster and Chamberlain Plugin for Homebridge https://github.com/nfarina/homebridge
Other
567 stars 44 forks source link

setCookie.map is not a function #1056

Closed fresler closed 1 year ago

fresler commented 1 year ago

I am running Homebridge 1.60. I am getting the following error: TypeError: setCookie.map is not a function at myQApi.trimSetCookie (file:///var/lib/homebridge/node_modules/homebridge-myq/node_modules/@hjdhjd/myq/src/myq-api.ts:689:22) at myQApi.oauthRedirect (file:///var/lib/homebridge/node_modules/homebridge-myq/node_modules/@hjdhjd/myq/src/myq-api.ts:204:25) at myQApi.getOAuthToken (file:///var/lib/homebridge/node_modules/homebridge-myq/node_modules/@hjdhjd/myq/src/myq-api.ts:244:27) at processTicksAndRejections (node:internal/process/task_queues:95:5) at myQApi.acquireAccessToken (file:///var/lib/homebridge/node_modules/homebridge-myq/node_modules/@hjdhjd/myq/src/myq-api.ts:365:19) at myQApi.refreshAccessToken (file:///var/lib/homebridge/node_modules/homebridge-myq/node_modules/@hjdhjd/myq/src/myq-api.ts:407:14) at myQApi.refreshDevices (file:///var/lib/homebridge/node_modules/homebridge-myq/node_modules/@hjdhjd/myq/src/myq-api.ts:449:10) at myQPlatform.updateAccessories (file:///var/lib/homebridge/node_modules/homebridge-myq/src/myq-platform.ts:293:10) at file:///var/lib/homebridge/node_modules/homebridge-myq/src/myq-platform.ts:335:14

Also, I had to rename server.js to server.cjs in order for the settings popup to load.

github-actions[bot] commented 1 year ago

@fresler - this issue is being automatically closed because it does not follow either the feature request or bug report issue template. The issue templates have been designed to help in the troubleshooting (or feature request) process. Please use them and populate it as completely as possible to streamline troubleshooting or feature request discussions.

github-actions[bot] commented 1 year ago

This issue is locked to prevent necro-posting on closed issues. Please create a new issue for related bugs.