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

EBADENGINE Error because of wrong Version of rpm? #182

Open
twitnic opened this issue Jan 21, 2024 · 0 comments
Open

EBADENGINE Error because of wrong Version of rpm? #182

twitnic opened this issue Jan 21, 2024 · 0 comments

Comments

@twitnic
Copy link

twitnic commented Jan 21, 2024

Hey,

I have installed:

pi@pi3:~/.node-red/node_modules/particle-api-js $ npm -v
10.3.0

And a NodeRed installation.
I try to install the https://flows.nodered.org/node/node-red-contrib-nspanel-lui package.

the I get the error:

2024-01-21T00:26:44.201Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict node-red-contrib-nspanel-lui@0.0.1-alpha.51
2024-01-21T00:26:45.803Z [err] npm
2024-01-21T00:26:45.805Z [err]  WARN
2024-01-21T00:26:45.805Z [err]  config production Use `--omit=dev` instead.
2024-01-21T00:26:59.811Z [err] npm ERR! code EBADENGINE
2024-01-21T00:26:59.824Z [err] npm ERR! engine Unsupported engine
2024-01-21T00:26:59.824Z [err] npm ERR! 
2024-01-21T00:26:59.826Z [err] engine Not compatible with your version of node/npm: particle-api-js@10.4.2
2024-01-21T00:26:59.826Z [err] npm ERR! notsup Not compatible with your version of node/npm: particle-api-js@10.4.2
2024-01-21T00:26:59.826Z [err] npm ERR! 
2024-01-21T00:26:59.827Z [err] notsup Required: {"node":">=12.x","npm":"8.x"}
2024-01-21T00:26:59.827Z [err] npm ERR! notsup Actual:   {"npm":"10.3.0","node":"v20.5.1"}
2024-01-21T00:26:59.841Z [err] 
2024-01-21T00:26:59.842Z [err] npm 
2024-01-21T00:26:59.842Z [err] ERR! A complete log of this run can be found in: /home/pi/.npm/_logs/2024-01-21T00_26_45_582Z-debug-0.log
2024-01-21T00:26:59.881Z rc=1

My npm and my node version are higher then the required.
But your npm version is hard set to 8. not ">=8.0" like node version.

And directy via cli:

pi@pi3:~/.node-red/node_modules $ npm update particle-api-js
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'particle-api-js@10.4.2',
npm WARN EBADENGINE   required: { node: '>=12.x', npm: '8.x' },
npm WARN EBADENGINE   current: { node: 'v20.5.1', npm: '10.3.0' }
npm WARN EBADENGINE }

Is it possible to change the version of npm?

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