Skip to content

5.1.3 - RangeError: Maximum call stack size exceeded at inferFromTypes - Maybe Fixed with 5.2.0-dev.20230606Β #54549

Closed as not planned

Description

Bug Report

πŸ”Ž Search Terms

  • "RangeError: Maximum call stack size exceeded at inferFromTypes"
  • "inferFromTypes"

πŸ•— Version & Regression Information

  • This changed between versions 5.0.4 and 5.1.3
  • Seems to be fixed when running npm install typescript@next //(5.2.0-dev.20230606)

πŸ’» Code

npm run build

πŸ™ Actual behavior

Build error occurred
RangeError: Maximum call stack size exceeded
    at inferFromTypes (C:\***\node_modules\typescript\lib\typescript.js:654
    at inferFromTypes (C:\***\node_modules\typescript\lib\typescript.js:65459:11)
    at inferFromTypes (C:\***\node_modules\typescript\lib\typescript.js:65459:11)
    at inferFromTypes (C:\***\node_modules\typescript\lib\typescript.js:65459:11)
    at inferFromTypes (C:\***\node_modules\typescript\lib\typescript.js:65459:11)
    at inferFromTypes (C:\***\node_modules\typescript\lib\typescript.js:65459:11)
    at inferFromTypes (C:\***\node_modules\typescript\lib\typescript.js:65459:11)
    at inferFromTypes (C:\***\node_modules\typescript\lib\typescript.js:654
    at inferFromTypes (C:\***\node_modules\typescript\lib\typescript.js:65459:11)
    at inferFromTypes (C:\***\node_modules\typescript\lib\typescript.js:65459:11) {
  type: 'RangeError'
}

πŸ™‚ Expected behavior

Build completed with no errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    DuplicateAn existing issue was already created

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions