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

Error when updating this node #2

Closed
HaroldPetersInskipp opened this issue Jan 11, 2024 · 1 comment
Closed

Error when updating this node #2

HaroldPetersInskipp opened this issue Jan 11, 2024 · 1 comment

Comments

@HaroldPetersInskipp
Copy link

I get the following error when trying to update the node:

2024-01-11T17:01:36.486Z Install : @ralphwetzel/node-red-context-monitor 1.2.1

2024-01-11T17:01:36.361Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict @ralphwetzel/node-red-context-monitor@1.2.1
2024-01-11T17:01:37.405Z [err] npm
2024-01-11T17:01:37.406Z [err]  WARN
2024-01-11T17:01:37.406Z [err]  config production Use `--omit=dev` instead.
2024-01-11T17:01:43.595Z [err] npm
2024-01-11T17:01:43.595Z [err]  ERR! code EBADENGINE
2024-01-11T17:01:43.601Z [err] npm
2024-01-11T17:01:43.601Z [err]  ERR! engine
2024-01-11T17:01:43.602Z [err]  Unsupported engine
2024-01-11T17:01:43.603Z [err] npm 
2024-01-11T17:01:43.603Z [err] ERR! engine
2024-01-11T17:01:43.603Z [err]  Not compatible with your version of node/npm: @azure/msal-node@1.3.0
2024-01-11T17:01:43.603Z [err] npm 
2024-01-11T17:01:43.604Z [err] ERR! notsup Not compatible with your version of node/npm: @azure/msal-node@1.3.0
2024-01-11T17:01:43.604Z [err] npm 
2024-01-11T17:01:43.604Z [err] ERR! notsup Required: {"node":"10 || 12 || 14 || 16"}
2024-01-11T17:01:43.604Z [err] npm ERR! 
2024-01-11T17:01:43.604Z [err] notsup Actual:   {"npm":"9.6.7","node":"v18.17.1"}
2024-01-11T17:01:43.610Z [err] 
2024-01-11T17:01:43.610Z [err] npm 
2024-01-11T17:01:43.610Z [err] ERR! A complete log of this run can be found in: /home/pi/.npm/_logs/2024-01-11T17_01_37_321Z-debug-0.log
2024-01-11T17:01:43.638Z rc=1

Which is odd because I looked over your package.json and see

  "engines": {
    "node": ">=14.0.0"
  },

But I'm running "npm":"9.6.7","node":"v18.17.1"

any idea how to fix?

@HaroldPetersInskipp
Copy link
Author

Scratch that, it happens when updating any node for me, so it must be something on my end.

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

1 participant