node-red-contrib-discord-advanced
node-red-contrib-discord-advanced copied to clipboard
Not compatible with your version of node/npm: @sapphire/[email protected]
I am using nodered 3.1 docker image, which running node 16.20.2
Log:
2024-01-09T08:50:59.776Z Install : node-red-contrib-discord-advanced 3.5.0
2024-01-09T08:50:59.823Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict [email protected] 2024-01-09T08:51:00.253Z [err] npm 2024-01-09T08:51:00.253Z [err] WARN config production Use
--omit=dev
instead. 2024-01-09T08:51:01.258Z [err] npm 2024-01-09T08:51:01.258Z [err] ERR! code EBADENGINE 2024-01-09T08:51:01.260Z [err] npm 2024-01-09T08:51:01.260Z [err] ERR! engine Unsupported engine 2024-01-09T08:51:01.260Z [err] npm 2024-01-09T08:51:01.260Z [err] ERR! 2024-01-09T08:51:01.261Z [err] engine 2024-01-09T08:51:01.261Z [err] Not compatible with your version of node/npm: @sapphire/[email protected] 2024-01-09T08:51:01.261Z [err] npm ERR! notsup Not compatible with your version of node/npm: @sapphire/[email protected] 2024-01-09T08:51:01.261Z [err] npm ERR! notsup Required: {"node":">=v18"} 2024-01-09T08:51:01.261Z [err] npm ERR! notsup 2024-01-09T08:51:01.261Z [err] Actual: {"npm":"8.19.4","node":"v16.20.2"} 2024-01-09T08:51:01.263Z [err] 2024-01-09T08:51:01.263Z [err] npm 2024-01-09T08:51:01.263Z [err] ERR! A complete log of this run can be found in: 2024-01-09T08:51:01.263Z [err] npm ERR! /data/.npm/_logs/2024-01-09T08_51_00_224Z-debug-0.log 2024-01-09T08:51:01.271Z rc=1
Hey @shintiger , the nodejs version of the nodered/node-red:latest
image (and other default images) is nodejs v16.x.x
.
Instead of having node-red-contrib-discord-advance
support nodejs 16.x.x
, you might be able to use a nodered/node-red
image variation which is built with nodejs v18.x.x
. Using an image tagged with x.x.x-18
, (e.g. :latest-18
or :3.1.3-18
), and should resolve this.
Same for me. I use the latest 3.1.9 node-red and get similar error.
2024-04-22T19:59:09.002Z Install : node-red-contrib-discord-advanced 3.5.2
2024-04-22T19:59:08.778Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict [email protected]
2024-04-22T19:59:10.561Z [err] npm WARN config production Use --omit=dev
instead.
2024-04-22T19:59:21.756Z [err] npm
2024-04-22T19:59:21.756Z [err]
2024-04-22T19:59:21.757Z [err] ERR!
2024-04-22T19:59:21.757Z [err]
2024-04-22T19:59:21.757Z [err] code
2024-04-22T19:59:21.758Z [err] EBADENGINE
2024-04-22T19:59:21.764Z [err] npm
2024-04-22T19:59:21.764Z [err]
2024-04-22T19:59:21.765Z [err] ERR!
2024-04-22T19:59:21.765Z [err]
2024-04-22T19:59:21.766Z [err] engine
2024-04-22T19:59:21.766Z [err] Unsupported engine
2024-04-22T19:59:21.767Z [err] npm
2024-04-22T19:59:21.767Z [err]
2024-04-22T19:59:21.768Z [err] ERR!
2024-04-22T19:59:21.768Z [err]
2024-04-22T19:59:21.768Z [err] engine
2024-04-22T19:59:21.769Z [err] Not compatible with your version of node/npm: @discordjs/[email protected]
2024-04-22T19:59:21.769Z [err] npm
2024-04-22T19:59:21.770Z [err]
2024-04-22T19:59:21.770Z [err] ERR!
2024-04-22T19:59:21.771Z [err]
2024-04-22T19:59:21.771Z [err] notsup
2024-04-22T19:59:21.772Z [err] Not compatible with your version of node/npm: @discordjs/[email protected]
2024-04-22T19:59:21.772Z [err] npm
2024-04-22T19:59:21.772Z [err]
2024-04-22T19:59:21.773Z [err] ERR!
2024-04-22T19:59:21.773Z [err]
2024-04-22T19:59:21.773Z [err] notsup
2024-04-22T19:59:21.774Z [err] Required: {"node":">=18"}
2024-04-22T19:59:21.776Z [err] npm ERR! notsup Actual: {"npm":"8.19.4","node":"v16.20.2"}
2024-04-22T19:59:21.782Z [err]
2024-04-22T19:59:21.783Z [err] npm
2024-04-22T19:59:21.784Z [err]
2024-04-22T19:59:21.784Z [err] ERR!
2024-04-22T19:59:21.784Z [err] A complete log of this run can be found in:
2024-04-22T19:59:21.785Z [err] npm
2024-04-22T19:59:21.785Z [err]
2024-04-22T19:59:21.785Z [err] ERR!
2024-04-22T19:59:21.785Z [err] /data/.npm/_logs/2024-04-22T19_59_10_444Z-debug-0.log
2024-04-22T19:59:21.821Z rc=1