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

Unsupported warning engine with filters #8017

Open
1 of 4 tasks
y-nk opened this issue Apr 26, 2024 · 0 comments
Open
1 of 4 tasks

Unsupported warning engine with filters #8017

y-nk opened this issue Apr 26, 2024 · 0 comments

Comments

@y-nk
Copy link

y-nk commented Apr 26, 2024

Verify latest release

  • I verified that the issue exists in the latest pnpm release

pnpm version

v8

Which area(s) of pnpm are affected? (leave empty if unsure)

CLI

Link to the code that reproduces this issue or a replay of the bug

No response

Reproduction steps

  1. Create a monorepo with 2 workspaces (ws-node16 and ws-node20)
  2. Each workspace would have { engine } with a different version (node16, node20, matching names)
  3. use any nvm to set your current runtime to node20

Describe the Bug

When running any pnpm --filter "ws-node20" run command, prompt will inform with WARN about node runtime requirement not met for ws-node16.

ws-node16 | WARN Unsupported engine: wanted: {"node":">=16"} (current: {"node":"v20.12.2","pnpm":"8.15.6"})

Expected Behavior

There should be no node engine check for workspaces not included in the --filter expression

Which Node.js version are you using?

20.12.2

Which operating systems have you used?

  • macOS
  • Windows
  • Linux

If your OS is a Linux based, which one it is? (Include the version if relevant)

No response

@y-nk y-nk added the type: bug label Apr 26, 2024
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

1 participant