Skip to content
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

Module errors loading ring #1250

Closed
1 task done
andsoitgoes opened this issue Jun 23, 2023 · 1 comment
Closed
1 task done

Module errors loading ring #1250

andsoitgoes opened this issue Jun 23, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@andsoitgoes
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Describe The Bug

I’m getting a log error when I try loading up ring. See below for the error. I’ve tried reinstalling to no avail.

To Reproduce

Restart home bridge, try to open settings.

Expected behavior

Ring showing in homebridge

Relevant log output

Error: Cannot find module './extendStringPrototype'
Require stack:
- /homebridge/node_modules/homebridge-ring/node_modules/colors/lib/index.js
- /homebridge/node_modules/homebridge-ring/node_modules/ring-client-api/lib/util.js
- /homebridge/node_modules/homebridge-ring/node_modules/ring-client-api/lib/rest-client.js
- /homebridge/node_modules/homebridge-ring/lib/homebridge-ui/server.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:995:15)
    at Module._load (node:internal/modules/cjs/loader:841:27)
    at Module.require (node:internal/modules/cjs/loader:1061:19)
    at require (node:internal/modules/cjs/helpers:103:18)
    at Object.<anonymous> (/homebridge/node_modules/homebridge-ring/node_modules/colors/lib/index.js:13:1)
    at Module._compile (node:internal/modules/cjs/loader:1159:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
    at Module.load (node:internal/modules/cjs/loader:1037:32)
    at Module._load (node:internal/modules/cjs/loader:878:12)
    at Module.require (node:internal/modules/cjs/loader:1061:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/homebridge/node_modules/homebridge-ring/node_modules/colors/lib/index.js',
    '/homebridge/node_modules/homebridge-ring/node_modules/ring-client-api/lib/util.js',
    '/homebridge/node_modules/homebridge-ring/node_modules/ring-client-api/lib/rest-client.js',
    '/homebridge/node_modules/homebridge-ring/lib/homebridge-ui/server.js'
  ]
}

Node.js v18.12.1

Screenshots

No response

Homebridge Ring Config

"platforms": [
        {
            "refreshToken": "",
            "alarmOnEntryDelay": true,
            "hideDoorbellSwitch": true,
            "hideCameraSirenSwitch": true,
            "hideInHomeDoorbellSwitch": true,
            "hideAlarmSirenSwitch": true,
            "platform": "Ring"
        },

Additional context

No response

OS

Raspbian

Node.js Version

18.12.1

NPM Version

8.19.2

Homebridge/HOOBs Version

1.6.1

Homebridge Ring Plugin Version

11.8.0

Operating System

Docker

@andsoitgoes andsoitgoes added the bug Something isn't working label Jun 23, 2023
@dgreif
Copy link
Owner

dgreif commented Jul 29, 2023

Reinstalling was my first suggestion, but sounds like you've tried that. Maybe try updating to the latest version of Node + NPM and then reinstalling again

@dgreif dgreif closed this as not planned Won't fix, can't repro, duplicate, stale Aug 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants