Skip to content

Problem installing modules in NodeRed #7324

@TadyTheFish

Description

@TadyTheFish

Hello
I have updated Dietpi from 9.8.0 to 9.9.0 and started to have problems with Node red.
If I try to install (or update) ANY of the available nodes I get an BADENGINE error from npm
2024-12-25T16:17:28.748Z [err] npm error code EBADENGINE 2024-12-25T16:17:28.748Z [err] npm error engine Unsupported engine 2024-12-25T16:17:28.748Z [err] npm error engine Not compatible with your version of node/npm: @homebridge/[email protected] 2024-12-25T16:17:28.748Z [err] npm error notsup Not compatible with your version of node/npm: @homebridge/[email protected] 2024-12-25T16:17:28.748Z [err] npm error notsup Required: {"node":"^18 || ^20 || ^22"} 2024-12-25T16:17:28.748Z [err] npm error notsup Actual: {"npm":"10.9.2","node":"v23.5.0"} 2024-12-25T16:17:28.749Z [err] npm error A complete log of this run can be found in: /mnt/dietpi_userdata/node-red/.npm/_logs/2024-12-25T16_17_27_651Z-debug-0.log 2024-12-25T16:17:28.757Z rc=1
The installed node.js is version 23 but no modules want that, even the official recommendation from Node red is to use version 22.
I installed NodeRed via dietpi-software and it pulls version 23
can you revert back to Node.js version 22?
If I try to install Node red via their official script it thrown se an error that I am running Dietpi and should install via Dietpi-software.
Thank you

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions