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
TypeError: Cannot read property 'name' of undefined #926
Comments
Are you running a stock version of Node.js? That error indicates that |
This issue appears to be restricted to when you start homebridge using pm2. I have worked around the issue by switching to hb-service. |
Yeah, something must be serving a non-standard version of |
I encountered this immediately upon updating to Node v14.18.1. I don't actually know what fs is, or fs-extra for that matter. Could it be a permissions issue? |
|
I tried to check the version of fs, but I could not find it using |
|
Huh. OK. Well, obviously I don't know what I'm doing, so thanks for the hand-holding. Very kind. I'll have to invest some more mental effort to figure out how this happened. I probably should start my whole pi over from scratch. |
Hi @hepcat72. I have the same issue. Did you solve yours somehow? |
No, I did not, but only because I simply haven't tried to figure it out. I just worked around the issue by switching from pm2 to hb-service to manage my homebridge process, though I am also having issues with node-red running via pm2. I can start it up, but after a reboot, it doesn't run and I have to start it manually. I don't know if it's related to fs* though - and I discovered that I had 2 competing pm2 installations (root vs pi). I uninstalled the root one and crossed my fingers, but I haven't checked with a reboot since then. But take all this with a huge grain of salt because I don't know what the hell I'm doing. I probably used sudo somewhere where I shouldn't have or something. I'm too busy with a bathroom remodel to figure it out, so I'm just treading water until I have time to set up my new pi 4. |
fs-extra
version::I hope this is the right place to report this issue. I see this error in my homebridge installation (which installs fs-extras as a dependency I believe) constantly in my homebridge error log:
What can I do to address this?
The text was updated successfully, but these errors were encountered: