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

[Help needed]: Failed to install - engine Unsupported engine #552

Closed
S474N opened this issue May 4, 2024 · 5 comments
Closed

[Help needed]: Failed to install - engine Unsupported engine #552

S474N opened this issue May 4, 2024 · 5 comments
Assignees
Labels
question Further information is requested

Comments

@S474N
Copy link

S474N commented May 4, 2024

Your Current NRCHKB Plugin Version

I want to install 1.6.1

Operating System

Debian, Docker

How can we help?

-----------------------------------------------------------
2024-05-04T17:05:28.560Z Install : node-red-contrib-homekit-bridged 1.6.1

2024-05-04T17:05:29.860Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict node-red-contrib-homekit-bridged@1.6.1
2024-05-04T17:05:30.065Z [err] npm
2024-05-04T17:05:30.066Z [err]  WARN config production Use `--omit=dev` instead.
2024-05-04T17:05:35.590Z [err] npm 
2024-05-04T17:05:35.591Z [err] ERR! code EBADENGINE
2024-05-04T17:05:35.591Z [err] npm ERR! 
2024-05-04T17:05:35.591Z [err] engine Unsupported engine
2024-05-04T17:05:35.591Z [err] npm ERR!
2024-05-04T17:05:35.591Z [err]  engine Not compatible with your version of node/npm: @homebridge/ciao@1.2.0
2024-05-04T17:05:35.591Z [err] npm 
2024-05-04T17:05:35.591Z [err] ERR! notsup Not compatible with your version of node/npm: @homebridge/ciao@1.2.0
2024-05-04T17:05:35.591Z [err] npm 
2024-05-04T17:05:35.591Z [err] ERR! notsup Required: {"node":"^18 || ^20"}
2024-05-04T17:05:35.592Z [err] npm ERR! 
2024-05-04T17:05:35.592Z [err] notsup Actual:   {"npm":"8.19.4","node":"v16.20.2"}
2024-05-04T17:05:35.593Z [err] 
2024-05-04T17:05:35.593Z [err] npm
2024-05-04T17:05:35.593Z [err]  ERR! A complete log of this run can be found in:
2024-05-04T17:05:35.593Z [err] npm ERR!     /data/.npm/_logs/2024-05-04T17_05_30_050Z-debug-0.log
2024-05-04T17:05:35.599Z rc=1

Any more details?

latest-debian version, inside is node.js v16 :(

https://hub.docker.com/r/nodered/node-red/tags

Any code or functions to add?

No response

@S474N S474N added the question Further information is requested label May 4, 2024
@caitken-com
Copy link

You should use a specific tag for the nodered docker image to get the right version of node.js

Example nodered/node-red:latest-18

@S474N
Copy link
Author

S474N commented May 5, 2024

Read carefully! I wrote about Debian based image! I know about 'latest-18', but its Alpine based!

@TheNON75
Copy link
Collaborator

TheNON75 commented May 5, 2024

You may operate with these tags (official from nodered).
As not we are maintaining nodered, with this issue you may want to contact them directly on their support channels.

@S474N
Copy link
Author

S474N commented May 5, 2024

I know, but I reported it there too:
image

I put it here also for the reason that someone was dealing with a similar problem.

@S474N
Copy link
Author

S474N commented May 6, 2024

OK, tested this manual and it's OK ;)

https://gist.github.com/Paraphraser/6a6628c3a873047cefa5eeda21502cf0
image

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

No branches or pull requests

4 participants