Skip to content

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

@bitkidd

Description

@bitkidd

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions