Closed geta6 closed 7 years ago
I had no idea this'd be an issue as:
Note that, unless the user has set the engine-strict config flag, this field is advisory only. engineStrict: This feature was deprecated with npm 3.0.0 Source
I haven't used yarn yet, myself. Does yarn have an equivalent that might fix the issue for you?
This issue says that you can --ignore-engines
, would that solve your problem?
@JakeSidSmith if you remove "engine" will solve better instead fix a node version. Because this is a node's module, the "engine" is useful when you are creating a server and some hosts like Heroku/Openshift use it to setup nodejs according to a fixed version in this property.
and please let me know when solve this issue, because I really wanna use this lib in my project https://watchcoins.herokuapp.com thanks!
Heroku / Openshift wouldn't use this libs engine version though, it'd use the one from your project's package.
I may, however just remove this. Kind of pissed that yarn is messing this up. The engines are only supposed to be guidelines for what version a library is proven to work in. :/
Well, if you need the engine
property, change the fixed version to a flexible one, like: >= 6.0.0
, or ~6.x.x
,
I don't want people using 5 or less to have issues though. May just set to *
. I'll have a think.
+1
waiting on this as well
me too!
This module won't install with
yarn
that seems to be more strict about checkingengines
flags than thenpm
client.