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

yarn 3.2 is not checking package.json engine #4496

Closed
matart15 opened this issue May 26, 2022 · 2 comments
Closed

yarn 3.2 is not checking package.json engine #4496

matart15 opened this issue May 26, 2022 · 2 comments

Comments

@matart15
Copy link

matart15 commented May 26, 2022

package.json

{
  "version": "0.0.0",
  "private": true,
  "engines": {
    "node": "18.1.0",
    "yarn": "3.2.0"
  },
  "workspaces": [
    "apps/*",
    "packages/*"
  ],
  ...
}

node -v : v14.18.3

yarn install just succeeds.

.yarnrc.yml

nodeLinker: node-modules

plugins:
  - path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
    spec: "@yarnpkg/plugin-interactive-tools"

yarnPath: .yarn/releases/yarn-3.2.0.cjs
# ignore-engines:  false
# install:
#   ignore-engines: true

I tried

.npmrc with engine-strict = true did not help.

Is there any config I am missing?

@merceyz merceyz transferred this issue from yarnpkg/yarn May 26, 2022
@devoto13
Copy link
Contributor

See #1177

@merceyz
Copy link
Member

merceyz commented May 26, 2022

Duplicate of #1177

@merceyz merceyz marked this as a duplicate of #1177 May 26, 2022
@merceyz merceyz closed this as not planned Won't fix, can't repro, duplicate, stale May 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants