lemire / FastPriorityQueue.js

a fast heap-based priority queue in JavaScript
Apache License 2.0
357 stars 57 forks source link

The engine "node" is incompatible with this module. Expected version "~0.4". #9

Closed sm2017 closed 7 years ago

sm2017 commented 7 years ago

I run the following command

yarn add fastpriorityqueue

error queue-priority@1.0.0: The engine "node" is incompatible with this module. Expected version "~0.4".
error Found incompatible module
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

I see that in https://github.com/lemire/FastPriorityQueue.js/blob/master/package.json#L26-L35 "queue-priority": "^1.0.0" is dependency but it is not really dependency it is used only in benchmark

Can you please remove all from dependencies and add it to benchmark folder only ?

lemire commented 7 years ago

Yes, I will do so today.

lemire commented 7 years ago

Hopefully resolved with the latest release.