martin-doyle / node-red-contrib-aedes

MQTT broker for Node-RED based on Aedes
MIT License
62 stars 11 forks source link

Unsupported engine #73

Open Sergio-tix opened 1 year ago

Sergio-tix commented 1 year ago

Orange Pi +2E, Armbian 23.5.2 (Ubuntu 22.04.2 LTS)

root@orangepiplus2e:~# npm install node-red-contrib-aedes
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'aedes@0.49.0',
npm WARN EBADENGINE   required: { node: '>=14' },
npm WARN EBADENGINE   current: { node: 'v12.22.9', npm: '8.5.1' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'aedes-cached-persistence@9.0.0',
npm WARN EBADENGINE   required: { node: '>=14' },
npm WARN EBADENGINE   current: { node: 'v12.22.9', npm: '8.5.1' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'aedes-packet@3.0.0',
npm WARN EBADENGINE   required: { node: '>=14' },
npm WARN EBADENGINE   current: { node: 'v12.22.9', npm: '8.5.1' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'aedes-persistence@9.1.2',
npm WARN EBADENGINE   required: { node: '>=14' },
npm WARN EBADENGINE   current: { node: 'v12.22.9', npm: '8.5.1' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'aedes-persistence-level@8.0.1',
npm WARN EBADENGINE   required: { node: '>=14.0.0' },
npm WARN EBADENGINE   current: { node: 'v12.22.9', npm: '8.5.1' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'aedes-persistence-mongodb@9.1.1',
npm WARN EBADENGINE   required: { node: '>=14.0.0' },
npm WARN EBADENGINE   current: { node: 'v12.22.9', npm: '8.5.1' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'qlobber@7.0.1',
npm WARN EBADENGINE   required: { node: '>= 14' },
npm WARN EBADENGINE   current: { node: 'v12.22.9', npm: '8.5.1' }
npm WARN EBADENGINE }

up to date, audited 98 packages in 13s

11 packages are looking for funding
  run `npm fund` for details

1 low severity vulnerability

To address all issues, run:
  npm audit fix

Run `npm audit` for details.

But using NVM i installed rrr

But this does not help, the system still sees the old versions (and I didn’t even install them). What should be done in this case?

p.s. And which version of Ubuntu to install so that the repository contains the latest up-to-date versions of Node.js ?

martin-doyle commented 1 year ago

node-red-contrib-aedes requires Nodejs12. But as you see in the logs aedes requires Nodejs14 minimum.

martin-doyle commented 1 year ago

Be aware that Node 14 is out of maintenance since April this year. Best install Node 18.

martin-doyle commented 1 year ago

Check if you have multiple versions installed.

martin-doyle commented 1 year ago

https://askubuntu.com/questions/1259840/why-an-old-nodejs-version-is-installed-on-my-ubuntu-machine