homebridge / homebridge-config-ui-x

The Homebridge UI. Monitor, configure and backup Homebridge from a browser.
https://homebridge.io
MIT License
2.61k stars 373 forks source link

Failed to check registry.npmjs.org for updates: "Cannot read properties of undefined (reading 'length') #2077

Closed anbie closed 3 months ago

anbie commented 3 months ago

Current Situation

I'm starting to get these in my log every few 20 min.

Failed to check registry.npmjs.org for updates: "Cannot read properties of undefined (reading 'length')"

I have not found a way to cure this. Things like npm clear cache did not help.

Logs

[24/06/2024, 14:38:49] [Homebridge UI] [homebridge-config-ui-x] Failed to check registry.npmjs.org for updates: "Cannot read properties of undefined (reading 'length')" - see https://homebridge.io/w/JJSz6 for help.
[24/06/2024, 14:38:49] [Homebridge UI] [homebridge-config-ui-x] Failed to check registry.npmjs.org for updates: "Cannot read properties of undefined (reading 'length')" - see https://homebridge.io/w/JJSz6 for help.

Environment

Process Supervisor

hb-service

Additional Context

No response

NorthernMan54 commented 3 months ago

Over the weekend something changed on the npmjs.com site, and they have stopped supplying a documented field 'maintainers'.

To summarize:

To resolve:

Screenshot 2024-06-24 at 09 05 42

NorthernMan54 commented 3 months ago

Pls add your upvotes to this issue on the npm side https://github.com/orgs/community/discussions/129220

https://github.com/orgs/community/discussions

anbie commented 3 months ago

Works like a charm. All "Failed to check registry.npmjs.org" messages are gone. Thanks!

dkerr64 commented 3 months ago

This should be closed as a duplicate of #2070

mkz212 commented 2 months ago

I think you can already unpin this Issue.