node-red / node-red/node-red-nodes

Installation failed in latest node version above 18

Open
#1,057 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.1k
Forks
612
Avg merge
13h 57m
Merged PRs (30d)
3

Description

Failed to install email node, below is the error message. why can't I install it in the latest node versions ??


2024-03-20T10:12:48.017Z Install : node-red-node-email 2.2.1

2024-03-20T10:12:48.064Z npm.cmd install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict node-red-node-email@2.2.1
2024-03-20T10:12:50.127Z [err] npm
2024-03-20T10:12:50.127Z [err] WARN config production Use --omit=dev instead.
2024-03-20T10:12:52.269Z [err] npm ERR!
2024-03-20T10:12:52.269Z [err] code EBADENGINE
2024-03-20T10:12:52.270Z [err] npm ERR!
2024-03-20T10:12:52.270Z [err] engine Unsupported engine
2024-03-20T10:12:52.270Z [err] npm ERR!
2024-03-20T10:12:52.270Z [err] engine Not compatible with your version of node/npm: @azure/msal-node@1.18.4
2024-03-20T10:12:52.270Z [err] npm ERR! notsup Not compatible with your version of node/npm: @azure/msal-node@1.18.4
2024-03-20T10:12:52.270Z [err] npm ERR! notsup Required: {"node":"10 || 12 || 14 || 16 || 18"}
2024-03-20T10:12:52.270Z [err] npm ERR! notsup Actual: {"npm":"10.4.0","node":"v20.11.1"}

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the dependency metadata for node-red-node-email and the @azure/msal-node version reported in the installation error. Check how Node.js engine compatibility is declared, then verify that installation succeeds on Node.js 20 without the EBADENGINE failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.