cat-bughelp wanted
仓库指标
- Star
- (41,514 star)
- PR 合并指标
- (30 天内没有已合并 PR)
描述
We have a package which has the following engines field:
"engines": {
"node": ">=6.0.0",
"yarn": ">=0.18.0",
"npm": ">=4.0.0"
}
in package.json. As there is not yet a stable "msi" package for Windows users for installation we thought of installing the latest nightly. Unfortunately yarn does not seem to be happy with the installed version. Possibly this is because the version check is somehow flawed.
Output from installing:
yarn install v0.18.0-20161123.1451
[1/4] Resolving packages...
[2/4] Fetching packages...
error advanced-boilerplate@0.14.7: The engine "yarn" is incompatible with this module. Expected version ">=0.18.0".
error Found incompatible module
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
This seems to be a bug as v0.18.0-20161123.1451 should be successfully matched by >=0.18.0.