-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed as not planned
Labels
Description
Describe the bug
https://github.com/Debbl/starter-ts/tree/fix/vitest-log-before
in vite@5.2.13, it will report this error when run pnpm run vitest
reletive
vitejs/vite#16219
vitejs/vite#14328
Reproduction
https://github.com/Debbl/starter-ts/tree/fix/vitest-log-before
git clone git@github.com:Debbl/starter-ts.git
git checkout fix/vitest-log-before
pnpm i
pnpm run testhttps://github.com/Debbl/starter-ts/tree/fix/vitest-log-after
in vite@5.3.0, it's working.
System Info
System:
OS: macOS 14.7.2
CPU: (8) arm64 Apple M1 Pro
Memory: 75.14 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 22.12.0 - /usr/local/bin/node
Yarn: 1.22.22 - /usr/local/bin/yarn
npm: 10.9.0 - /usr/local/bin/npm
pnpm: 9.15.3 - /usr/local/bin/pnpm
Browsers:
Chrome: 131.0.6778.265
Safari: 17.6
npmPackages:
vite: 5.3.0 => 5.3.0
vitest: 2.1.8 => 2.1.8Used Package Manager
pnpm
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.