-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Closed
Labels
Description
Describe the bug
My tests (vitest) started to fail after update to 3.1.4. Not a big deal the workaround is simple, but I prefer to share the info.
belgattitude/http-exception#83
Seems related to the change of esbuild target in dev: refs #10215 and #10207.
It's about the Error.cause, see usage https://belgattitude.github.io/http-exception/#/?id=about-errorcause
Here's the test that fails
As a workaround I've just set explicitly the target to node14 (many targets works, just not esnext).
Not knowledgeable enough to know if it's important. Just wanted to share, please feel free to close.
By the way, thanks a lot for the work you're doing 👍
Reproduction
belgattitude/http-exception#83
System Info
System:
OS: Linux 5.15 Ubuntu 22.04.1 LTS 22.04.1 LTS (Jammy Jellyfish)
CPU: (12) x64 Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz
Memory: 858.00 MB / 15.29 GB
Container: Yes
Shell: 5.1.16 - /bin/bash
Binaries:
Node: 16.17.0 - ~/.nvm/versions/node/v16.17.0/bin/node
Yarn: 4.0.0-rc.22 - ~/.nvm/versions/node/v16.17.0/bin/yarn
npm: 8.15.0 - ~/.nvm/versions/node/v16.17.0/bin/npm
Browsers:
Chrome: 105.0.5195.125
Firefox: 105.0.1Used Package Manager
yarn
Logs
No response
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.
- Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
- 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
