Hi all,
very new to nodered; I am using it with this contribution to control my HomeAutomation SW (running on a MacMini);
I did the same setup with nodejs 12.14.1 and nodered 1.0.3 and on a machine is working fine, on a second one I have different error; when using that contribution, after I created an indigo-controller I try to get the device list, I get this error
getting devices
(node:14305) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'requestAsync' of undefined
at /Users/domotica/.node-red/node_modules/indigodomo-node/dist/index.js:128:31
at Generator.next (<anonymous>)
at /Users/domotica/.node-red/node_modules/indigodomo-node/dist/index.js:7:71
at new Promise (<anonymous>)
at __awaiter (/Users/domotica/.node-red/node_modules/indigodomo-node/dist/index.js:3:12)
at Get (/Users/domotica/.node-red/node_modules/indigodomo-node/dist/index.js:127:12)
at Object.<anonymous> (/Users/domotica/.node-red/node_modules/indigodomo-node/dist/index.js:43:22)
at Generator.next (<anonymous>)
at /Users/domotica/.node-red/node_modules/indigodomo-node/dist/index.js:7:71
at new Promise (<anonymous>)
(node:14305) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
(node:14305) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.