Open siobhanellis opened 3 years ago
@siobhanellis Thanks for submitting the issue. I've released 0.0.1-beta.14, which fixes this issue, on npm. Please give it a try.
Error: The requested platform 'homebridge-assistant-ui' was not registered by any plugin.
at PluginManager.getPluginForPlatform (/usr/local/lib/node_modules/homebridge/lib/pluginManager.js:152:23)
at /usr/local/lib/node_modules/homebridge/lib/server.js:271:45
at Array.forEach (
@siobhanellis Thanks for trying. However, I was not able to reproduce the same error with my environment. I tried with a macOS 10.15 and RaspberryPi (Ubuntu). homebrige and other plugins are up to date.
Please let me know your environment. Also, is this error shown in the config-ui screen?
macOS 11.1 on a Macmini
Everything is up to date.
Homebridge V1.2.5 Nodes 14.3.0 Nom 6.14.7
It seems to me the problem is how it gets added to the config.json, that homebridge-assistant-ui is not recognised.
I also saw:
Error loading platform requested in your config.json at position 7
These errors are in my log, which is shown on the main screen of Homebridge UI
So, the issue seems to be that the platform is not loaded.
Siobhan
On Jan 7, 2021, at 9:30 AM, sho yamashita notifications@github.com<mailto:notifications@github.com> wrote:
@siobhanellishttps://github.com/siobhanellis Thanks for trying. However, I was not able to reproduce the same error with my equipment. I tried with a RaspberryPi with macOS 10.15 and Ubuntu. homebrige and other plugins are up to date.
Please let me know your environment. Also, is this error shown in the config-ui screen?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/sskmy1024y/homebridge-assistant-ui/issues/5#issuecomment-756262921, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AH5APBJU7PWIYLTRY2XNMP3SYXVT5ANCNFSM4VYOOJ7Q.
OK, it is because platform, in config.json, needs to be assistant-ui, not homebridge-assistant-ui
Now getting more errors:
[Nest] 42059 - 01/07/2021, 2:16:45 PM [NestFactory] Starting Nest application...
[Nest] 42059 - 01/07/2021, 2:16:45 PM [TypeOrmModule] Unable to connect to the database. Retrying (1)... +63ms
Error: No connection options were found in any orm configuration files.
at ConnectionOptionsReader.
And
[Nest] 42213 - 01/07/2021, 2:20:02 PM [TypeOrmModule] Unable to connect to the database. Retrying (3)... +3001ms
Error: No connection options were found in any orm configuration files.
at ConnectionOptionsReader.
On Jan 7, 2021, at 9:30 AM, sho yamashita notifications@github.com<mailto:notifications@github.com> wrote:
@siobhanellishttps://github.com/siobhanellis Thanks for trying. However, I was not able to reproduce the same error with my equipment. I tried with a RaspberryPi with macOS 10.15 and Ubuntu. homebrige and other plugins are up to date.
Please let me know your environment. Also, is this error shown in the config-ui screen?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/sskmy1024y/homebridge-assistant-ui/issues/5#issuecomment-756262921, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AH5APBJU7PWIYLTRY2XNMP3SYXVT5ANCNFSM4VYOOJ7Q.
@siobhanellis I understand this problem and have published a fix (v0.0.1-beta.16) .
I also tried it using macOS11.1, but I didn't get any TypeOrmModule errors. This has been fixed by 0.0.1-beta.14. Please try uninstalling homebridge-assistant-ui once and then install it again.
Still getting errors:
[Nest] 63392 - 01/07/2021, 11:24:58 PM [NestFactory] Starting Nest application...
[Nest] 63392 - 01/07/2021, 11:24:58 PM [TypeOrmModule] Unable to connect to the database. Retrying (1)... +60ms
Error: No connection options were found in any orm configuration files.
at ConnectionOptionsReader.
@siobhanellis Thank you for trying again and again. I am very grateful for your help.
But unfortunately, I cannot reproduce your error. Could you please help me with the following questions?
And, please check to see file exists /usr/local/lib/node_modules/homebridge-assistant-ui/dist/ormconfig.js
.
If it does not exist, you may have an older version installed.
I will continue my investigation. Thank you so much.
And, please check to see file exists /usr/local/lib/node_modules/homebridge-assistant-ui/dist/ormconfig.js. - Yes it does
Installed with Config-UI
ERROR LOADING PLUGIN homebridge-assistant-ui: [1/6/2021, 8:50:16 PM] Error: Cannot find module '/usr/local/lib/node_modules/homebridge-assistant-ui/index.js' Require stack: