-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
ReferenceError: AggregateError is not defined on attempting to bump to 0.30.0 #3158
Comments
The line of code which throws error:
Probably related to #3103 |
This could be happening as AggregateError support was added in Node.js 15.x+ with v8 8.6 Do import type { AggregateError as AggregateErrorPonyfill } from '../../utils' |
I replaced ReferenceError: performance is not defined The |
|
I noticed
And the import was missed in https://github.com/vitest-dev/vitest/pull/3103/files#diff-1dd42957b6a1b54eefc60f69188d482af54ba3cd308a166e2ce9f970ed784b41, in file which contains v8 import from I posted a fix in #3159. |
v0.30.1 fixed the issue for us. Thank you! |
Describe the bug
The following error is thrown when attempting to bump vitest to
v0.30.0
Reproduction
GitHub CI failure: https://github.com/awslabs/aws-sdk-js-codemod/actions/runs/4652038000/jobs/8232008884?pr=483
System Info
The issues happens on macOS as well as GitHub CI.
Used Package Manager
yarn
Validations
The text was updated successfully, but these errors were encountered: