node-red-contrib-amqp icon indicating copy to clipboard operation
node-red-contrib-amqp copied to clipboard

Unsupported engine for [email protected]

Open lombaardcj opened this issue 4 years ago • 3 comments

Error when trying to add npm package to latest version of node-red

sudo npm install -g node-red-contrib-amqp
npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":">=0.8 <6 || ^6"} (current: {"node":"12.19.1","npm":"6.14.8"})
npm WARN notsup Not compatible with your version of node/npm: [email protected]
$ node --version
v12.19.1
$ npm --version
6.14.8

lombaardcj avatar Nov 24 '20 19:11 lombaardcj

Hey,

I have the same effect:

2020-11-27T14:51:51.897Z installieren : node-red-contrib-amqp 1.0.2

2020-11-27T14:51:51.942Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production [email protected]
2020-11-27T14:51:56.581Z [err] npm
2020-11-27T14:51:56.582Z [err]  WARN notsup Unsupported engine for [email protected]: wanted: {"node":">=0.8 <6 || ^6"} (current: {"node":"10.23.0","npm":"6.14.8"})
2020-11-27T14:51:56.582Z [err] npm
2020-11-27T14:51:56.582Z [err]  WARN
2020-11-27T14:51:56.582Z [err]  notsup
2020-11-27T14:51:56.582Z [err]  Not compatible with your version of node/npm: [email protected]
2020-11-27T14:51:56.583Z [err] 
2020-11-27T14:51:56.587Z [out] + [email protected]
2020-11-27T14:51:56.587Z [out] added 22 packages from 60 contributors in 2.942s
2020-11-27T14:51:56.617Z rc=0 

I am doing the installation via node-red web-ui 'manage palette --> install'.

Version info: image

$ npm --version
6.14.8

Hints and ideas are welcome. Thanks

deschmih avatar Nov 27 '20 15:11 deschmih

duplicate https://github.com/abreits/node-red-contrib-amqp/issues/30#issuecomment-735637646

deschmih avatar Nov 30 '20 08:11 deschmih

The issue is by the package amqp-ts have a dependency to package [email protected].

diecamdia avatar Aug 04 '21 09:08 diecamdia