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

Error since Update Homebridge with always restart #569

Open
LemminatorGer opened this issue Jul 28, 2024 · 2 comments
Open

Error since Update Homebridge with always restart #569

LemminatorGer opened this issue Jul 28, 2024 · 2 comments

Comments

@LemminatorGer
Copy link

/var/lib/homebridge/node_modules/homebridge-homematicip/node_modules/googleapis/build/src/apis/metastore/v1beta.js:106 url: (rootUrl + '/v1`eta/{+name}/locatIons').replace(/([^:]^/)/+/g. %$1'),
0 " mEthod: 'GET',
^^^

SyntaxError: Unexpected identifier 'url'
at wrapSafe (node:internal/modules/cjs/loader:1281:20)
at Module._compile (node:internal/modules/cjs/loader:1321:27)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
at Module.load (node:internal/modules/cjs/loader:1208:32)
at Function.Module._load (node:internal/modules/cjs/loader:1024:12)
at Module.require (node:internal/modules/cjs/loader:1233:19)
at require (node:internal/modules/helpers:179:18)
at Object. (/var/lib/homebridge/node_modules/homebridge-homematicip/node_modules/googleapis/build/src/apis/metastore/index.js:22:18)
at Module._compile (node:internal/modules/cjs/loader:1358:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1416:10)`

@gkminix
Copy link
Contributor

gkminix commented Jul 29, 2024

Hi, could it be that you have a corrupt file system? Line 106 of the file named v1beta.js should read:

                url: (rootUrl + '/v1beta/{+name}/locations').replace(/([^:]\/)\/+/g, '$1'),

which is different from what you have in there. I would recommend to reinstall the homematicip plugin. Make sure that npm also reinstalls all dependencies. You might also check your filesystem for errors first.

Gero

@LemminatorGer
Copy link
Author

hi
ja es ist diese Datei die es zerschossen hat. kann man die irgendwie austauschen? ich denke es ist nur das Problem dieser Datei

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants