I am having difficulty installing node-red-contrib-oauth2. my stats are as follows:
- Node-Red version 3.02
- Node v18.16.0
- NPM v9.5.1
- OS Ubuntu 20.04.6 LTS
Additional notes form Log trying to install:
2023-06-20T18:16:22.628Z Install : node-red-contrib-oauth2 5.0.4
2023-06-20T18:16:21.919Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict node-red-contrib-oauth2@5.0.4
2023-06-20T18:16:26.663Z [err] npm
2023-06-20T18:16:26.664Z [err] WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it!
2023-06-20T18:16:27.149Z [err] npm
2023-06-20T18:16:27.149Z [err] ERR! code ENOTSUP
2023-06-20T18:16:27.151Z [err] npm
2023-06-20T18:16:27.151Z [err] ERR! notsup
2023-06-20T18:16:27.151Z [err] Unsupported engine for node-red-contrib-oauth2@5.0.4: wanted: {"node":">=12.0.0"} (current: {"node":"10.19.0","npm":"6.14.4"})
2023-06-20T18:16:27.151Z [err] npm
2023-06-20T18:16:27.151Z [err] ERR! notsup Not compatible with your version of node/npm: node-red-contrib-oauth2@5.0.4
2023-06-20T18:16:27.152Z [err] npm
2023-06-20T18:16:27.152Z [err] ERR!
2023-06-20T18:16:27.152Z [err] notsup Not compatible with your version of node/npm: node-red-contrib-oauth2@5.0.4
2023-06-20T18:16:27.152Z [err] npm
2023-06-20T18:16:27.152Z [err] ERR! notsup
2023-06-20T18:16:27.152Z [err] Required: {"node":">=12.0.0"}
2023-06-20T18:16:27.152Z [err] npm ERR!
2023-06-20T18:16:27.152Z [err] notsup Actual: {"npm":"6.14.4","node":"10.19.0"}
2023-06-20T18:16:27.158Z [err]
2023-06-20T18:16:27.158Z [err] npm ERR! A complete log of this run can be found in:
2023-06-20T18:16:27.158Z [err] npm
2023-06-20T18:16:27.158Z [err] ERR! /root/.npm/_logs/2023-06-20T18_16_27_154Z-debug.log
2023-06-20T18:16:27.178Z rc=1