Open LemminatorGer opened 1 month ago
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
hi ja es ist diese Datei die es zerschossen hat. kann man die irgendwie austauschen? ich denke es ist nur das Problem dieser Datei
/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)`