-
Notifications
You must be signed in to change notification settings - Fork 45
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
Rush monorepo with vitest and pnpm #3267
Comments
We are not very familiar with
In a fresh sample repo, we were able to get Wallaby working with {
...
"@vitest/runner": "~0.34.3",
"@vitest/snapshot": "~0.34.3"
...
} Once you've installed the dependencies and updated your your Run Configuration to set the It's possible that you will need other dependencies (in addition to |
I can confirm this is working by adding those two phantom dependencies. |
Issue description or question
I'm trying to get Wallaby to work with vitest with a Rush monorepo using pnpm.
I'm trying to create a Webstorm configuration for one of my subprojects using vitest.
When running the configuration, i get an error about missing @vitest/runner
Per instructions in the docs, i add
to my root .npmrc in
common/config/rush/.npmrc
I then force rush to reinstall everything.
I can verify that i have a @vitest/runner installed in .pnpm folder located in
common/temp/node_modules/.pnpm
with a symbolic link incommon/temp/node_modules/@vitest/runner
Sadly, this doesn't fix the problem.
I then wonder if setting the wallaby root to as subfolder prevent it from seeing the root packages.
But setting walaby root to the monorepo root produces this error
Wallaby diagnostics report
The text was updated successfully, but these errors were encountered: