Title: Issue · GitHub
Open Graph Title: Issue · microsoft/TypeScript
X Title: Issue · microsoft/TypeScript
Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - Issue · microsoft/TypeScript
Open Graph Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - Issue · microsoft/TypeScript
X Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - Issue · microsoft/TypeScript
Opengraph URL: https://github.com/microsoft/TypeScript
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"RangeError: Maximum call stack size exceeded when building monaco (5.5.2)","articleBody":"### 🔎 Search Terms\r\n\r\n\"maximum call stack size\"\r\n\r\n### 🕗 Version \u0026 Regression Information\r\n\r\n- This is a crash\r\n- This changed between versions 5.4.5 and 5.5.2\r\n\r\n\r\n### ⏯ Playground Link\r\n\r\n_No response_\r\n\r\n### 💻 Code\r\n\r\nNot sure which code causes the crash.\r\n\r\n\r\n### 🙁 Actual behavior\r\n\r\nWhen compiling [monaco-editor](https://github.com/microsoft/monaco-editor) with TypeScript@5.5.2 or higher, it will result in a `Maximum call stack size exceeded`.\r\n\r\n1. Open https://stackblitz.com/~/github.com/microsoft/monaco-editor or clone https://github.com/microsoft/monaco-editor locally\r\n2. Run `npm run build-monaco-editor` (this will work as it uses TypeScript@5.4.5)\r\n3. Update TypeScript by running `npm install typescript@5.5.2`\r\n4. Run `npm run build-monaco-editor` again (this will fail)\r\n\r\n### 🙂 Expected behavior\r\n\r\nWhen compiling `monaco-editor` with the latest TypeScript, I shouldn't be seeing a `Maximum call stack size exceeded`.\r\n\r\n### Additional information about the issue\r\n\r\n_No response_","author":{"url":"https://github.com/SamVerschueren","@type":"Person","name":"SamVerschueren"},"datePublished":"2024-07-12T10:06:39.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/59253/TypeScript/issues/59253"}
| route-pattern | /:user_id/:repository/issues/:id(.:format) |
| route-controller | issues |
| route-action | show |
| fetch-nonce | v2:826a3200-6e64-4f4f-5b16-6cffbd7ac17a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9AB4:22CCBF:8F6150:C97AC3:6A624D99 |
| html-safe-nonce | 6c39b87b6b5f9973594c043fc849a15cc3770413ae2197a39c31b71c3c79014c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QUI0OjIyQ0NCRjo4RjYxNTA6Qzk3QUMzOjZBNjI0RDk5IiwidmlzaXRvcl9pZCI6IjQ5Mzg1MTg1MDU4NTg0MjAxMjEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 1aa0956e05b24eaa56e571448bb1a650042d409ad4fb8972ddaa6442ae9b1704 |
| hovercard-subject-tag | repository:20929025 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/microsoft/TypeScript/issues/59253 |
| twitter:image | https://opengraph.githubassets.com/a18f085354a6180bc20d157f45c7e1dddce4d26933fb24368ef83117b9d94757/microsoft/TypeScript |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a18f085354a6180bc20d157f45c7e1dddce4d26933fb24368ef83117b9d94757/microsoft/TypeScript |
| og:image:alt | TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - Issue · microsoft/TypeScript |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 77f5af7d0fa3843b1779a53f60ec016b3f962e46051fb05c2e9b608a8138eefb |
| turbo-cache-control | no-cache |
| go-import | github.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 20929025 |
| octolytics-dimension-repository_nwo | microsoft/TypeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 20929025 |
| octolytics-dimension-repository_network_root_nwo | microsoft/TypeScript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d3ce7d369aae307e197872f810f80f3ed9051c78 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width