Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation failed in latest node version above 18 #1057

Open
selwin-007 opened this issue Mar 20, 2024 · 1 comment
Open

Installation failed in latest node version above 18 #1057

selwin-007 opened this issue Mar 20, 2024 · 1 comment

Comments

@selwin-007
Copy link

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 [email protected]
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/[email protected]
2024-03-20T10:12:52.270Z [err] npm ERR! notsup Not compatible with your version of node/npm: @azure/[email protected]
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"}

@knolleary
Copy link
Member

The module it is complaining about is @azure/msal-node - the version of that module does not appear to support Node 20.

In you .node-red directory, can you run npm list @azure/msal-node to see where that module is getting pulled in from?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants