-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Vitest >=0.34.3 throws error cannot find package '__sveltekit' #4067
Copy link
Copy link
Closed
Description
Describe the bug
Same/similar error message as #3483 but it works in 0.34.2
Reproduction
Happens on my work project and I was able to make it happen by cloning the repro from #3483 and updating the package version. If you move it down to 0.34.2 and run npm install && npm run test:run it works but not with 0.34.3
System Info
System:
OS: Linux 6.4 Fedora Linux 38 (Workstation Edition)
CPU: (16) x64 12th Gen Intel(R) Core(TM) i7-1260P
Memory: 21.10 GB / 30.95 GB
Container: Yes
Shell: 5.2.15 - /bin/bash
Binaries:
Node: 18.16.0 - ~/.nvm/versions/node/v18.16.0/bin/node
npm: 9.7.2 - ~/.nvm/versions/node/v18.16.0/bin/npm
Browsers:
Chrome: 116.0.5845.140
npmPackages:
@vitest/coverage-v8: ^0.34.2 => 0.34.2
vite: ^4.4.9 => 4.4.9
vitest: ^0.34.3 => 0.34.3Used Package Manager
npm
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- 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 open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels