Hi all,
I'm a bit apprehensive, because this issue appears to be caused in principle by having the latest version of Browserify, which seems a very common thing to have, but here goes:
Do you want to request a _feature_ or report a _bug_?
Bug
What is the current behavior?
Fails to install an existing package.json that works fine with NPM install.
If the current behavior is a bug, please provide the steps to reproduce.
$ npm ls punycode
`-- [email protected] // requests punycode@^1.3.2
+-- [email protected]
`-- [email protected] // requests [email protected]
`-- [email protected]
$ yarn
...
[2/4] 🚚 Fetching packages...
error [email protected]: The engine "node" is incompatible with this module. Expected version ">=6".
error Found incompatible module
Yarn should not resolve any Punycode dependency to 2.x.x, yet it does, to 2.0.1, which causes the engines error.
What is the expected behavior?
Punycode should install 1.4.1, the last before bump to 2.x.x, and not give an error.
Please mention your node.js, yarn and operating system version.
OS X 10.11.6
Node 5.12.0
Yarn 0.16.1
_the amount of version is too damn high meme_
Tom
Yep! Also has a problem with >= #1158
This can be a blocker for adoption.
swagger doesn't install with yarn for a similar reason.
Using Node 4.6.1 (latest recommended release) I get the following:
error [email protected]: The engine "node" is incompatible with this module. Expected version ">=5.8.0".
error Found incompatible module
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Swagger has a dependency of ^2.9.2, but swagger-editor has an engine limitation, so yarn should try an older version (eg; 2.9.9) or make it easy to manually provide an alternative preferred version.
Fixed via #1477.
Hello @kittens ,
Sorry, but I am still experiencing this with yarn v0.16.0:
npm ls punycode
[email protected] /Users/filipwitosz/Code/Projects/qorus
+-- [email protected]
| `-- [email protected]
| `-- [email protected]
`-- [email protected]
`-- [email protected]
`-- [email protected]
`-- [email protected]
When I try yarn install it dies on:
error [email protected]: The engine "node" is incompatible with this module. Expected version ">=6".
I have also updated to latest version of Node.
Is there anything else I should do?
Thank you.
The PR that was referenced is merged to master and should contain the fix, but there has not been a new release yet.
I experienced this issue on 0.16.1, so I guess we have to wait for 0.16.2 or 0.17.0.
Okay, thanks. Thought it was fixed in one of the latest builds.
On 31 October 2016 at 11:19, Tom Bestebreurtje [email protected]
wrote:
The PR that was referenced should contain the fix, but there has not been
a new release yet. I experienced this issue on 0.16.1, so I guess we have
to wait for 0.16.2 or 0.17.0.—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/yarnpkg/yarn/issues/1404#issuecomment-257258506, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AIc3KTsvliA_7fMUCTdY0BqZGxx4agkFks5q5cDOgaJpZM4Ke8SL
.
I'm still seeing this bug in the current nightly (yarn install v0.19.0-20170105.1735)
I'm seeing this issue as well.
Most helpful comment
Hello @kittens ,
Sorry, but I am still experiencing this with yarn v0.16.0:
When I try
yarn installit dies on:I have also updated to latest version of Node.
Is there anything else I should do?
Thank you.