Skip to content

Can't install using the Palette Manager #67

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

Closed
guilhermep opened this issue Jan 25, 2023 · 3 comments
Closed

Can't install using the Palette Manager #67

guilhermep opened this issue Jan 25, 2023 · 3 comments

Comments

@guilhermep
Copy link

Just tried installing this node in a fresh Node-RED docker container using the "manage palette" option and it gives me the following error:

-----------------------------------------------------------
2023-01-25T19:16:36.327Z Install : node-red-contrib-mssql-plus 0.9.1

2023-01-25T19:16:35.093Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict [email protected]
2023-01-25T19:16:35.389Z [err] npm
2023-01-25T19:16:35.389Z [err]  WARN config
2023-01-25T19:16:35.389Z [err]  production Use `--omit=dev` instead.
2023-01-25T19:16:44.499Z [err] npm
2023-01-25T19:16:44.499Z [err]  ERR! code EBADENGINE
2023-01-25T19:16:44.500Z [err] npm 
2023-01-25T19:16:44.500Z [err] ERR! engine Unsupported engine
2023-01-25T19:16:44.501Z [err] npm ERR! engine
2023-01-25T19:16:44.501Z [err]  Not compatible with your version of node/npm: [email protected]
2023-01-25T19:16:44.501Z [err] npm ERR! notsup Not compatible with your version of node/npm: [email protected]
2023-01-25T19:16:44.501Z [err] npm ERR!
2023-01-25T19:16:44.501Z [err]  notsup Required: {"node":"<14.7.0"}
2023-01-25T19:16:44.501Z [err] npm ERR! notsup Actual:   {"npm":"8.11.0","node":"v16.16.0"}
2023-01-25T19:16:44.502Z [err] 
2023-01-25T19:16:44.502Z [err] npm ERR!
2023-01-25T19:16:44.502Z [err]  A complete log of this run can be found in:
2023-01-25T19:16:44.502Z [err] npm ERR!     /data/.npm/_logs/2023-01-25T19_16_35_368Z-debug-0.log
2023-01-25T19:16:44.508Z rc=1

I managed to install it using npm install inside the container though.

@bestlong
Copy link
Owner

is nodejs version to old problem.
try update docker image version to latest version, and recreate container

@guilhermep
Copy link
Author

The dependency is requiring an older version than mine. It's usually not a problem, but Node-RED uses the --engine-strict flag.

@guilhermep
Copy link
Author

Already fixed. southpolesteve/node-abort-controller#39

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