Trying to migrate to new server, and when I did, I upgraded node-red to version 2.0.5, and now I am having some major issues.
Flows won't deploy due to missing node types, and I keep getting errors installing some nodes:
2021-08-08T02:57:09.697Z Install : node-red-contrib-objectid 0.7.2
2021-08-08T02:57:11.434Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict node-red-contrib-objectid@0.7.2
2021-08-08T02:57:13.142Z [err] npm
2021-08-08T02:57:13.143Z [err]
2021-08-08T02:57:13.143Z [err] WARN
2021-08-08T02:57:13.143Z [err]
2021-08-08T02:57:13.143Z [err] old lockfile
2021-08-08T02:57:13.143Z [err]
2021-08-08T02:57:13.143Z [err] npm
2021-08-08T02:57:13.143Z [err]
2021-08-08T02:57:13.143Z [err] WARN
2021-08-08T02:57:13.143Z [err]
2021-08-08T02:57:13.146Z [err] old lockfile
2021-08-08T02:57:13.146Z [err] The package-lock.json file was created with an old version of npm,
2021-08-08T02:57:13.146Z [err] npm
2021-08-08T02:57:13.146Z [err]
2021-08-08T02:57:13.146Z [err] WARN
2021-08-08T02:57:13.146Z [err]
2021-08-08T02:57:13.146Z [err] old lockfile
2021-08-08T02:57:13.146Z [err] so supplemental metadata must be fetched from the registry.
2021-08-08T02:57:13.146Z [err] npm
2021-08-08T02:57:13.146Z [err]
2021-08-08T02:57:13.146Z [err] WARN
2021-08-08T02:57:13.146Z [err]
2021-08-08T02:57:13.147Z [err] old lockfile
2021-08-08T02:57:13.147Z [err]
2021-08-08T02:57:13.147Z [err] npm
2021-08-08T02:57:13.147Z [err]
2021-08-08T02:57:13.147Z [err] WARN
2021-08-08T02:57:13.147Z [err]
2021-08-08T02:57:13.147Z [err] old lockfile
2021-08-08T02:57:13.147Z [err] This is a one-time fix-up, please be patient...
2021-08-08T02:57:13.147Z [err] npm
2021-08-08T02:57:13.147Z [err]
2021-08-08T02:57:13.147Z [err] WARN
2021-08-08T02:57:13.147Z [err]
2021-08-08T02:57:13.147Z [err] old lockfile
2021-08-08T02:57:13.152Z [err]
2021-08-08T02:57:54.253Z [err] npm
2021-08-08T02:57:54.254Z [err]
2021-08-08T02:57:54.254Z [err] ERR!
2021-08-08T02:57:54.254Z [err]
2021-08-08T02:57:54.254Z [err] code
2021-08-08T02:57:54.254Z [err] EBADENGINE
2021-08-08T02:57:54.256Z [err] npm
2021-08-08T02:57:54.256Z [err]
2021-08-08T02:57:54.256Z [err] ERR!
2021-08-08T02:57:54.256Z [err]
2021-08-08T02:57:54.256Z [err] engine
2021-08-08T02:57:54.256Z [err] Unsupported engine
2021-08-08T02:57:54.256Z [err] npm
2021-08-08T02:57:54.256Z [err]
2021-08-08T02:57:54.256Z [err] ERR!
2021-08-08T02:57:54.256Z [err]
2021-08-08T02:57:54.256Z [err] engine
2021-08-08T02:57:54.256Z [err] Not compatible with your version of node/npm: node-red-contrib-objectid@0.7.2
2021-08-08T02:57:54.257Z [err] npm
2021-08-08T02:57:54.257Z [err]
2021-08-08T02:57:54.257Z [err] ERR!
2021-08-08T02:57:54.257Z [err]
2021-08-08T02:57:54.257Z [err] notsup
2021-08-08T02:57:54.257Z [err] Not compatible with your version of node/npm: node-red-contrib-objectid@0.7.2
2021-08-08T02:57:54.257Z [err] npm
2021-08-08T02:57:54.257Z [err]
2021-08-08T02:57:54.257Z [err] ERR!
2021-08-08T02:57:54.257Z [err]
2021-08-08T02:57:54.257Z [err] notsup
2021-08-08T02:57:54.257Z [err] Required: {"node":"^0.12.7"}
2021-08-08T02:57:54.257Z [err] npm
2021-08-08T02:57:54.257Z [err]
2021-08-08T02:57:54.257Z [err] ERR!
2021-08-08T02:57:54.257Z [err]
2021-08-08T02:57:54.258Z [err] notsup
2021-08-08T02:57:54.258Z [err] Actual: {"npm":"7.20.3","node":"v16.6.1"}
2021-08-08T02:57:54.271Z [err]
2021-08-08T02:57:54.271Z [err] npm
2021-08-08T02:57:54.271Z [err]
2021-08-08T02:57:54.271Z [err] ERR!
2021-08-08T02:57:54.271Z [err] A complete log of this run can be found in:
2021-08-08T02:57:54.271Z [err] npm
2021-08-08T02:57:54.272Z [err]
2021-08-08T02:57:54.272Z [err] ERR!
2021-08-08T02:57:54.272Z [err] /home/sidthetech/.npm/_logs/2021-08-08T02_57_54_260Z-debug.log
2021-08-08T02:57:54.281Z rc=1
I am using node version 16.x.x and I understand that the node probably won't work on the new version. This was used in my old flows when querying mongodb ...
I really want to use the latest version of node-red and hopefully node.
Any suggestions to get this going? I imagine there are other node types that are probably outdated as well.