pnpm workspace is not supported
sxzz opened this issue · comments
Kevin Deng 三咲智子 commented
Describe the bug
Reproduction on Vitest pnpm vitest --ui
✔ Do you want to install @vitest/ui? … yes
ERR_PNPM_ADDING_TO_ROOT Running this command will add the dependency to the workspace root, which might not be what you want - if you really meant it, make it explicit by running this command again with the -w flag (or --workspace-root). If you don't want to see this warning anymore, you may set the ignore-workspace-root-check setting to true.
I will make a PR for it later.
Reproduction
init a pnpm monorepo, and run vitest --ui
System Info
N/A
Used Package Manager
pnpm
Validations
- Follow our Code of Conduct
- Read the Contributing Guide.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
- The provided reproduction is a minimal reproducible of the bug.