-
Notifications
You must be signed in to change notification settings - Fork 92
Description
Hello I use the plugin assistant plugin for my google home, this one uses this plugin. Unfortunately I have the following message that prevents the plugin from working properly:
[assistant-notifier] (host) Reading the message: 'this is a test'
{[Function: callback] port: 8009, rejectUnauthorized: false}
(node: 31285) UnhandledPromiseRejectionWarning: TypeError [ERR_INVALID_ARG_TYPE]: The "options.port" property must be one of type number or string. Received type function
at lookupAndConnect (net.js: 934: 13)
at TLSSocket.Socket.connect (net.js: 914: 5)
at Object.connect (_tls_wrap.js: 1298: 13)
at Client.connect (/home/pi/assistant-plugins/node_modules/assistant-notifier/node_modules/castv2-client/node_modules/castv2/lib/client.js:35:21)
at PlatformSender.connect (/home/pi/assistant-plugins/node_modules/assistant-notifier/node_modules/castv2-client/lib/senders/platform.js:27:15)
at /home/pi/assistant-plugins/node_modules/assistant-notifier/notifier.js:33:13
at new Promise ()
at AssistantNotifier.prom (/home/pi/assistant-plugins/node_modules/assistant-notifier/notifier.js:28:10)
at /home/pi/assistant-plugins/node_modules/assistant-notifier/notifier.js:78:15
at Array.forEach ()
(node: 31285) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated from the inside of the outside world, but it was not handled by .catch (). (rejection id: 2)
(node: 31285) [DEP0018] DeprecationWarning: unhandled promised rejections are deprecated. In the future, it will not be possible to terminate the Node.js process with a non-zero exit code.
Can you help me please?
Thank you in advance,