Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maybe there is a need to have a way to pass --ignore-engines to yarn #207

Closed
bitkidd opened this issue Mar 30, 2017 · 1 comment
Closed

Comments

@bitkidd
Copy link

bitkidd commented Mar 30, 2017

Problem:

Just tried to deploy to server via capistrano, and got a problem while installing deps with yarn:

yarn install v0.21.3
[1/4] Resolving packages...
[2/4] Fetching packages...
error [email protected]: The engine "node" is incompatible with this module. Expected version ">=4.3.0 < 5.0.0 || >= 5.10".
error Found incompatible module
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
rake aborted!

So I guess we need a possibility to pass --ignore-engines to yarn somehow, because I tried to run yarn installer via capistrano-yarn passing that flag and all went well.

Environment:

  • NVM
  • Node 7.4.0
  • Yarn 0.21.3
  • Rails 5.1.rc1
  • Ruby 2.4.1
  • Capistrano 3.8.0
@gauravtiwari
Copy link
Member

Fixed in #367

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants