Closed max-stockhausen closed 2 years ago
I am facing same issue `----------------------------------------------------------- 2022-03-21T21:47:14.824Z Install : node-red-contrib-huemagic 4.2.1
2022-03-21T21:47:15.085Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict node-red-contrib-huemagic@4.2.1 2022-03-21T21:48:01.356Z [err] npm 2022-03-21T21:48:01.356Z [err] WARN tsutils@3.21.0 requires a peer of typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta but none is installed. You must install peer dependencies yourself. 2022-03-21T21:48:01.398Z [err] npm WARN 2022-03-21T21:48:01.398Z [err] optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/zigbee-herdsman-converters/node_modules/fsevents): 2022-03-21T21:48:01.398Z [err] npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) 2022-03-21T21:48:01.442Z [err] npm WARN 2022-03-21T21:48:01.442Z [err] optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/zigbee-herdsman-converters/node_modules/zigbee-herdsman/node_modules/fsevents): 2022-03-21T21:48:01.442Z [err] npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) 2022-03-21T21:48:01.484Z [err] npm 2022-03-21T21:48:01.485Z [err] WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/zigbee-herdsman/node_modules/fsevents): 2022-03-21T21:48:01.485Z [err] npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) 2022-03-21T21:48:01.486Z [err] 2022-03-21T21:48:01.489Z [out] + node-red-contrib-huemagic@4.2.1 2022-03-21T21:48:01.489Z [out] updated 1 package in 44.471s 2022-03-21T21:48:01.541Z rc=0`
2.0.6: Maintenance Release
Hi @max-stockhausen: HueMagic requires
"node-red": {
"version": ">=2.1.0",
},
"engines": {
"node": ">=12.0.0"
},
Hence, your node-red version is outdated.
That was the issue... Easy fix :) Thank you for pointing that out!
Describe the bug I try to install huemagic but it gives an error "Cannot read property 'nodes' of null "
Flow to Reproduce `2022-03-21T21:02:00.828Z installieren : node-red-contrib-huemagic 4.2.1
2022-03-21T21:02:00.283Z npm install --no-package-lock --global-style --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production node-red-contrib-huemagic@4.2.1 2022-03-21T21:02:07.971Z [out] 2022-03-21T21:02:07.971Z [out] up to date in 7s 2022-03-21T21:02:07.997Z rc=0`
Expected behavior I expect huemagic to install without error
Screenshots![grafik](https://user-images.githubusercontent.com/44135545/159363352-ad7e6166-29e0-488b-a12e-f397ac49b778.png)
Please complete the following information: