The installation script assumes that I still have an Node v10 installed/used.
But in the log it says that I have a newer version.
And yes, I installed nvm in desperation. And now can't get rid of it.
Even with how-to from the net, the script still says I'm using nvm. So I reinstalled it.
Here is my log:
Already have nodejs v14.17.6
OLD nodejs 14 :
NEW nodejs :
***************************************
Started : Mo 13. Dez 15:35:13 CET 2021
Running for user pi at /home/pi
Found global nodes: :
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Paketlisten werden gelesen...
Abhängigkeitsbaum wird aufgebaut....
Statusinformationen werden eingelesen....
Paket »nodered« ist nicht installiert, wird also auch nicht entfernt.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
Versions: node:v10.24.1 npm:7.23.0
Now install Node-RED
npm WARN EBADENGINE Unsupported engine { package: 'node-red@2.1.4',
npm WARN EBADENGINE required: { node: '>=12' },
npm WARN EBADENGINE current: { node: 'v10.24.1', npm: '7.23.0' } }
npm WARN EBADENGINE Unsupported engine { package: 'fs-extra@10.0.0',
npm WARN EBADENGINE required: { node: '>=12' },
npm WARN EBADENGINE current: { node: 'v10.24.1', npm: '7.23.0' } }
npm WARN EBADENGINE Unsupported engine { package: 'node-red-admin@2.2.1',
npm WARN EBADENGINE required: { node: '>=12' },
npm WARN EBADENGINE current: { node: 'v10.24.1', npm: '7.23.0' } }
added 266 packages in 4m
2.1.4
Now create basic package.json for the user and move any global nodes
Installing extra nodes: node-red-node-pi-gpio@latest node-red-node-random@latest node-red-node-ping@latest node-red-contrib-play$
npm WARN EBADENGINE Unsupported engine { package: 'commander@8.3.0',
npm WARN EBADENGINE required: { node: '>= 12' },
npm WARN EBADENGINE current: { node: 'v10.24.1', npm: '7.23.0' } }
npm WARN EBADENGINE Unsupported engine { package: 'luxon@2.2.0',
npm WARN EBADENGINE required: { node: '>=12' },
npm WARN EBADENGINE current: { node: 'v10.24.1', npm: '7.23.0' } }
npm WARN EBADENGINE Unsupported engine { package: 'node-red-dashboard@3.1.2',
npm WARN EBADENGINE required: { node: '>=12' },
npm WARN EBADENGINE current: { node: 'v10.24.1', npm: '7.23.0' } }