hjdhjd / homebridge-myq

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

3.2.0 Update NPM Error #1095

Closed ericdhkim closed 1 year ago

ericdhkim commented 1 year ago

Describe The Problem:

When I try to update the myQ plugin via the Homebridge web UI, I get an error. I'm able to update other plugins, homebridge UI, as well as the Raspberry Pi without issue, but am seeing this error with only this plugin update. I see the below error: USER: homebridge DIR: /usr CMD: sudo -E -n npm install -g homebridge-myq@3.2.0 npm ERR! Cannot read properties of undefined (reading 'isStream') npm ERR! A complete log of this run can be found in: /home/homebridge/.npm/_logs/2023-08-22T04_23_04_678Z-debug-0.log **To Reproduce:** Use the "Update" button on the Homebridge UI **Logs:**

0 verbose cli /usr/bin/node /usr/bin/npm 1 info using npm@9.6.7 2 info using node@v18.17.1 3 timing npm:load:whichnode Completed in 3ms 4 timing config:load:defaults Completed in 6ms 5 timing config:load:file:/usr/lib/node_modules/npm/npmrc Completed in 1ms 6 timing config:load:builtin Completed in 2ms 7 timing config:load:cli Completed in 8ms 8 warn config global-style This option has been deprecated in favor of --install-strategy=shallow 9 timing config:load:env Completed in 2ms 10 timing config:load:project Completed in 2ms 11 timing config:load:file:/home/homebridge/.npmrc Completed in 0ms 12 timing config:load:user Completed in 1ms 13 timing config:load:file:/usr/etc/npmrc Completed in 0ms 14 timing config:load:global Completed in 0ms 15 timing config:load:setEnvs Completed in 3ms 16 timing config:load Completed in 26ms 17 timing npm:load:configload Completed in 26ms 18 timing npm:load:mkdirpcache Completed in 1ms 19 timing npm:load:mkdirplogs Completed in 0ms 20 verbose title npm install homebridge-myq@3.2.0 21 verbose argv "install" "--global" "homebridge-myq@3.2.0" 22 timing npm:load:setTitle Completed in 3ms 23 timing config:load:flatten Completed in 10ms 24 timing npm:load:display Completed in 13ms

Show the Homebridge logs here.
Remove any sensitive information.

Homebridge Configuration:

Show the relevant portion of your homebridge config.json here, if needed.
Remove any sensitive information.

Screenshots:

Environment:

hjdhjd commented 1 year ago

Thanks for the report. Unfortunately, I can’t really help you with this one - it’s outside of the scope of what I support. This issue should be reported to the homebridge-config-ui-x Github, given that’s what you’re using to manage your plugins.

My suggestion would be uninstall the plugin completely from the webUI and reinstall it again from scratch and see if that works. You shouldn’t lose any of your configuration settings - homebridge-config-ui-x will prompt you if it should save the configuration.

Best of luck!

github-actions[bot] commented 1 year ago

This issue is locked to prevent necroposting on closed issues. Please create a new issue for related support requests, bug reports, or feature suggestions.