Should a warning be thrown when running an app with an unsupported version of node? #2819

Closed
rquinlivan opened this Issue Sep 19, 2012 · 3 comments

Projects

None yet

3 participants

It seems like the "engine" dependency in package.json is ignored currently. If I run npm install on a package that depends on, say, "engine": "node >= 0.8", and my current environment is 0.6, shouldn't npm tell me that the engine dependency wasn't met?

Owner
isaacs commented Sep 28, 2012

Yes, it should print a warning. Where are you seeing it not do that?

Owner
isaacs commented Sep 28, 2012

Oh, wait, it's engines, plural, not engine. Maybe that's the issue?

Contributor
luk- commented May 2, 2013

I'm not able to reproduce this, so I'm guessing it was a typo with engine instead of the correct engines.

@luk- luk- closed this May 2, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment