-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[0.20.x] vitest no longer works with yarn pnp #1758
Comments
Try disabling |
I was just doing that and was about to report back that |
It's not possible to use custom experimental loader with Yarn PnP at the moment. We need nodejs/node#43772 to be resolved first. For now we will detect, if running under Yarn PnP and disable |
Experienced similar issue in a SolidJS project maintained with |
@manoldonev Solid example was updated, you no longer need to inline solid. You can join discord to see updates. |
Describe the bug
After upgrading to 0.20.x, tests are no longer able to run due to yarn being unable to find a module
Reproduction
Here is a repo that exhibits the problem. I purposefully left it in a working state with vitest at 0.19.1, to show that 0.19.1 worked. The README.md has details on how to reproduce.
https://github.com/jereklas/vitest_yarn2
System Info
Used Package Manager
yarn
Validations
The text was updated successfully, but these errors were encountered: