flowhub / guv

Autoscaling for Heroku/AMQP
https://guvscale.com
MIT License
25 stars 6 forks source link

Yarn add guv fail #225

Open janmisek1 opened 5 years ago

janmisek1 commented 5 years ago

yarn add guv fail with error:

error amqp-stats@0.0.14: The engine "node" is incompatible with this module. Expected version "~0.6.0". Got "11.6.0"
error Found incompatible module

Guv use node-amqp-stats which has dependency "node": "~0.6.0".

npm install --save guv works properly, but old Node dependency can cause problems.

jonnor commented 5 years ago

Thank you for reporting. It looks like node-amqp-stats has not been updated since 2014. Since that package is just a simple wrapper around a HTTP interface, and we just use one or two methods from there, I propose that we remove the dependency and do the HTTP calls ourself.

However we are not using guv these days, so this probably wont happen from our end anytime soon. But I'd be happy to accept a pull request for this.