Skip to content
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

RangeError: Maximum call stack size exceeded #1384

Closed
6 tasks done
GalassoLuca opened this issue May 27, 2022 · 0 comments · Fixed by #1444
Closed
6 tasks done

RangeError: Maximum call stack size exceeded #1384

GalassoLuca opened this issue May 27, 2022 · 0 comments · Fixed by #1444

Comments

@GalassoLuca
Copy link

GalassoLuca commented May 27, 2022

Describe the bug

As shown in the reproduction, while a test fails it doesn't show the error message but it goes in an unhandled exception.

In this simple test, it generates both RangeError: Maximum call stack size exceeded and TypeError: Cannot read properties of undefined (reading 'stacks'), while in another scenario with GraphQL it just breaks with RangeError: Maximum call stack size exceeded (I didn't reproduce it yet, but I can open a different issue if needed)

The issue is both showing up with npm (StackBlitz) and pnpm (locally)

In the reproduction I've used vitest 0.12.9 but it is the same for 0.10.5 and 0.11.0 as for #1335 and so it shouldn't be related to 1135 issue

Reproduction

See this StackBlitz project.

I've tried both

System Info

System:
    OS: macOS 12.3.1
    CPU: (10) x64 Apple M1 Max
    Memory: 804.87 MB / 32.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 14.19.0 - /var/folders/7r/8sj96gfd055fh0yprrtsjdc80000gn/T/fnm_multishells/18206_1653644123728/bin/node
    Yarn: 1.22.17 - /var/folders/7r/8sj96gfd055fh0yprrtsjdc80000gn/T/fnm_multishells/18206_1653644123728/bin/yarn
    npm: 6.14.16 - /var/folders/7r/8sj96gfd055fh0yprrtsjdc80000gn/T/fnm_multishells/18206_1653644123728/bin/npm
  Browsers:
    Chrome: 101.0.4951.64
    Safari: 15.4
  npmPackages:
    vitest: ^0.12.9 => 0.12.9

Used Package Manager

pnpm

Validations

@github-actions github-actions bot locked and limited conversation to collaborators Jun 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants