Yarn: --ignore-engines is... ignored

Created on 11 Oct 2016  路  1Comment  路  Source: yarnpkg/yarn

Do you want to request a _feature_ or report a _bug_?

This is a bug!

What is the current behavior?

The --ignore-engines flag does not work. Our project (debugger.html) won't install because of a dependency enforcing node 4, and I'm on node 6. It still doesn't work with --ignore-engines.

% yarn --ignore-engines
yarn install v0.15.1
info No lockfile found.
warning [email protected]: Dependency "net" listed in "devDependencies" is the name of a built-in module
[1/4] 馃攳  Resolving packages..
warning [email protected]: WARNING: This project has been renamed to babel-plugin-module-resolver. Install babel-plugin-module-resolver for new features
warning [email protected]: Babel's CLI commands have been moved from the babel package to the babel-cli package
warning mocha-circleci-reporter > mocha > glob > [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
warning mocha-circleci-reporter > mocha > [email protected]: to-iso-string has been deprecated, use @segment/to-iso-string instead.
warning mocha-circleci-reporter > mocha > [email protected]: Jade has been renamed to pug, please install the latest version of pug instead of jade
[2/4] 馃殮  Fetching packages..
error [email protected]: The engine "node" is incompatible with this module. Expected version "4".
error Found incompatible module
info Visit http://yarnpkg.com/en/docs/cli/install for documentation about this command.

If the current behavior is a bug, please provide the steps to reproduce.

git clone [email protected]:devtools-html/debugger.html.git
cd debugger.html
yarn --ignore-engines

What is the expected behavior?

It installs.

Please mention your node.js, yarn and operating system version.

node 6.7.0, yarn 0.15.1, OSX 10.11

cat-bug

Most helpful comment

Verified, investigating the patch now. Thanks

>All comments

Verified, investigating the patch now. Thanks

Was this page helpful?
0 / 5 - 0 ratings