Can't install node-red-contrib-zigbee2mqtt

Hello,
I am trying to install zigbee2mqtt node on my latest HA installed on HA Yellow.

looks like dependencies problems.

2025-01-13T19:42:29.692Z Install : node-red-contrib-zigbee2mqtt 2.7.4

2025-01-13T19:42:29.918Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --omit=dev --engine-strict [email protected]
2025-01-13T19:42:38.707Z [err] npm warn ERESOLVE overriding peer dependency
2025-01-13T19:42:38.709Z [err] npm warn While resolving: [email protected]
2025-01-13T19:42:38.709Z [err] npm warn Found: [email protected]
2025-01-13T19:42:38.709Z [err] npm warn node_modules/graphql
2025-01-13T19:42:38.709Z [err] npm warn   peer graphql@"^14.2.1 || ^15.0.0 || ^16.0.0" from @apollographql/[email protected]
2025-01-13T19:42:38.709Z [err] npm warn   node_modules/@apollographql/apollo-tools
2025-01-13T19:42:38.709Z [err] npm warn     @apollographql/apollo-tools@"^0.5.0" from [email protected]
2025-01-13T19:42:38.709Z [err] npm warn     node_modules/apollo-server-core
2025-01-13T19:42:38.709Z [err] npm warn     1 more (graphql-extensions)
2025-01-13T19:42:38.709Z [err] npm warn   25 more (@apollographql/graphql-upload-8-fork, apollo-boost, ...)
2025-01-13T19:42:38.709Z [err] npm warn
2025-01-13T19:42:38.709Z [err] npm warn Could not resolve dependency:
2025-01-13T19:42:38.709Z [err] npm warn peer graphql@"^16.2.0" from [email protected]
2025-01-13T19:42:38.709Z [err] npm warn node_modules/graphql-relay
2025-01-13T19:42:38.709Z [err] npm warn   peer graphql-relay@"^0.4.2 || ^0.5.0 || ^0.7.0 || ^0.8.0 || ^0.9.0 || ^0.10.0" from [email protected]
2025-01-13T19:42:38.709Z [err] npm warn   node_modules/graphql-sequelize
2025-01-13T19:42:38.709Z [err] npm warn
2025-01-13T19:42:38.709Z [err] npm warn Conflicting peer dependency: [email protected]
2025-01-13T19:42:38.709Z [err] npm warn node_modules/graphql
2025-01-13T19:42:38.709Z [err] npm warn   peer graphql@"^16.2.0" from [email protected]
2025-01-13T19:42:38.709Z [err] npm warn   node_modules/graphql-relay
2025-01-13T19:42:38.709Z [err] npm warn     peer graphql-relay@"^0.4.2 || ^0.5.0 || ^0.7.0 || ^0.8.0 || ^0.9.0 || ^0.10.0" from [email protected]
2025-01-13T19:42:38.709Z [err] npm warn     node_modules/graphql-sequelize
2025-01-13T19:42:41.188Z [err] npm error code EBADENGINE
2025-01-13T19:42:41.189Z [err] npm error engine Unsupported engine
2025-01-13T19:42:41.189Z [err] npm error engine Not compatible with your version of node/npm: @azure/[email protected]
2025-01-13T19:42:41.189Z [err] npm error notsup Not compatible with your version of node/npm: @azure/[email protected]
2025-01-13T19:42:41.189Z [err] npm error notsup Required: {"node":"10 || 12 || 14 || 16 || 18"}
2025-01-13T19:42:41.189Z [err] npm error notsup Actual:   {"npm":"10.9.1","node":"v22.11.0"}
2025-01-13T19:42:41.194Z [err] npm error A complete log of this run can be found in: /root/.npm/_logs/2025-01-13T19_42_30_205Z-debug-0.log
2025-01-13T19:42:41.227Z rc=1

is there a way to sort it out?

Thank you,
Michal

Iā€™m using the latest version of the addon and I was able to install the node. Check to see if you have other nodes in the palette that need updating.

1 Like

there is one installed to update: node-red-contrib-home-assistant-websocket

but throw out similar issue:

2025-01-15T08:32:50.573Z Install : node-red-contrib-home-assistant-websocket 0.75.0

2025-01-15T08:32:50.610Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --omit=dev --engine-strict [email protected]
2025-01-15T08:32:58.592Z [err] npm warn ERESOLVE overriding peer dependency
2025-01-15T08:32:58.596Z [err] npm warn While resolving: [email protected]
2025-01-15T08:32:58.596Z [err] npm warn Found: [email protected]
2025-01-15T08:32:58.596Z [err] npm warn node_modules/graphql
2025-01-15T08:32:58.596Z [err] npm warn   peer graphql@"^14.2.1 || ^15.0.0 || ^16.0.0" from @apollographql/[email protected]
2025-01-15T08:32:58.596Z [err] npm warn   node_modules/@apollographql/apollo-tools
2025-01-15T08:32:58.596Z [err] npm warn     @apollographql/apollo-tools@"^0.5.0" from [email protected]
2025-01-15T08:32:58.596Z [err] npm warn     node_modules/apollo-server-core
2025-01-15T08:32:58.596Z [err] npm warn     1 more (graphql-extensions)
2025-01-15T08:32:58.596Z [err] npm warn   25 more (@apollographql/graphql-upload-8-fork, apollo-boost, ...)
2025-01-15T08:32:58.596Z [err] npm warn
2025-01-15T08:32:58.596Z [err] npm warn Could not resolve dependency:
2025-01-15T08:32:58.596Z [err] npm warn peer graphql@"^16.2.0" from [email protected]
2025-01-15T08:32:58.596Z [err] npm warn node_modules/graphql-relay
2025-01-15T08:32:58.596Z [err] npm warn   peer graphql-relay@"^0.4.2 || ^0.5.0 || ^0.7.0 || ^0.8.0 || ^0.9.0 || ^0.10.0" from [email protected]
2025-01-15T08:32:58.596Z [err] npm warn   node_modules/graphql-sequelize
2025-01-15T08:32:58.596Z [err] npm warn
2025-01-15T08:32:58.596Z [err] npm warn Conflicting peer dependency: [email protected]
2025-01-15T08:32:58.596Z [err] npm warn node_modules/graphql
2025-01-15T08:32:58.596Z [err] npm warn   peer graphql@"^16.2.0" from [email protected]
2025-01-15T08:32:58.596Z [err] npm warn   node_modules/graphql-relay
2025-01-15T08:32:58.596Z [err] npm warn     peer graphql-relay@"^0.4.2 || ^0.5.0 || ^0.7.0 || ^0.8.0 || ^0.9.0 || ^0.10.0" from [email protected]
2025-01-15T08:32:58.596Z [err] npm warn     node_modules/graphql-sequelize
2025-01-15T08:32:58.710Z [err] npm error code EBADENGINE
2025-01-15T08:32:58.710Z [err] npm error engine Unsupported engine
2025-01-15T08:32:58.711Z [err] npm error engine Not compatible with your version of node/npm: @azure/[email protected]
2025-01-15T08:32:58.711Z [err] npm error notsup Not compatible with your version of node/npm: @azure/[email protected]
2025-01-15T08:32:58.711Z [err] npm error notsup Required: {"node":"10 || 12 || 14 || 16 || 18"}
2025-01-15T08:32:58.711Z [err] npm error notsup Actual:   {"npm":"10.9.1","node":"v22.11.0"}
2025-01-15T08:32:58.719Z [err] npm error A complete log of this run can be found in: /root/.npm/_logs/2025-01-15T08_32_50_970Z-debug-0.log
2025-01-15T08:32:58.753Z rc=1

should I update it manually through SSL connection with some command?

Thank you