Title: [Angular 9.0.4] Building throws `ERROR in Error when flattening the source-map "[...].d.ts.map" for "[...].d.ts": Maximum call stack size exceeded` · Issue #35757 · angular/angular · GitHub
Open Graph Title: [Angular 9.0.4] Building throws `ERROR in Error when flattening the source-map "[...].d.ts.map" for "[...].d.ts": Maximum call stack size exceeded` · Issue #35757 · angular/angular
X Title: [Angular 9.0.4] Building throws `ERROR in Error when flattening the source-map "[...].d.ts.map" for "[...].d.ts": Maximum call stack size exceeded` · Issue #35757 · angular/angular
Description: 🐞 bug report Affected Package Probably @angular/cli, but I was asked to open the issue here. Is this a regression? Yes. The issue does not occur with Angular 9.0.2. Version 9.0.3 causes a different RangeError: Maximum call stack size exc...
Open Graph Description: 🐞 bug report Affected Package Probably @angular/cli, but I was asked to open the issue here. Is this a regression? Yes. The issue does not occur with Angular 9.0.2. Version 9.0.3 causes a different...
X Description: 🐞 bug report Affected Package Probably @angular/cli, but I was asked to open the issue here. Is this a regression? Yes. The issue does not occur with Angular 9.0.2. Version 9.0.3 causes a different...
Opengraph URL: https://github.com/angular/angular/issues/35757
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Angular 9.0.4] Building throws `ERROR in Error when flattening the source-map \"[...].d.ts.map\" for \"[...].d.ts\": Maximum call stack size exceeded`","articleBody":"# 🐞 bug report\r\n\r\n### Affected Package\r\n\r\nProbably `@angular/cli`, but [I was asked to open the issue here](https://github.com/angular/angular-cli/issues/17106#issuecomment-592477628).\r\n\r\n### Is this a regression?\r\n\r\nYes. The issue does not occur with Angular 9.0.2. Version 9.0.3 causes a different `RangeError: Maximum call stack size exceeded` error, tracked here: https://github.com/angular/angular-cli/issues/17106.\r\n\r\n### Description\r\n\r\nBuilding and serving both fail consistently with a bunch of the following messages:\r\n```\r\nERROR in Error when flattening the source-map \"[/path/to/file1].d.ts.map\" for \"[/path/to/file1].d.ts\": RangeError: Maximum call stack size exceeded\r\nERROR in Error when flattening the source-map \"[/path/to/file2].d.ts.map\" for \"[/path/to/file2].d.ts\": RangeError: Maximum call stack size exceeded\r\n...\r\nERROR in Error when flattening the source-map \"[/path/to/fileN].d.ts.map\" for \"[/path/to/fileN].d.ts\": RangeError: Maximum call stack size exceeded\r\n```\r\nThe issue seems similar to the above mentioned one and deleting `node_modules` does not fix it.\r\n\r\nMy setup is an Angular workspace with two projects: an app and a lib. The source-maps being \"flattened\" when the error occurs belong to the lib. The error occurs when attempting to build (`--prod` or otherwise) or serve the app.\r\n\r\n## 🌍 Your Environment\r\n\r\n**Angular Version:**\r\n```\r\nAngular CLI: 9.0.4\r\nNode: 13.9.0\r\nOS: linux x64\r\n\r\nAngular: 9.0.4\r\n... animations, cli, common, compiler, compiler-cli, core, forms\r\n... platform-browser, platform-browser-dynamic, router\r\nIvy Workspace: Yes\r\n\r\nPackage Version\r\n------------------------------------------------------------\r\n@angular-devkit/architect 0.900.4\r\n@angular-devkit/build-angular 0.900.4\r\n@angular-devkit/build-ng-packagr 0.900.4\r\n@angular-devkit/build-optimizer 0.900.4\r\n@angular-devkit/build-webpack 0.900.4\r\n@angular-devkit/core 9.0.4\r\n@angular-devkit/schematics 9.0.4\r\n@angular/cdk 9.1.0\r\n@ngtools/webpack 9.0.4\r\n@schematics/angular 9.0.4\r\n@schematics/update 0.900.4\r\nng-packagr 9.0.2\r\nrxjs 6.5.4\r\ntypescript 3.7.5\r\nwebpack 4.41.2\r\n```","author":{"url":"https://github.com/YarnSphere","@type":"Person","name":"YarnSphere"},"datePublished":"2020-02-28T16:09:00Z","url":"https://github.com/angular/angular/issues/35757"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:5f16e6b6-5dd6-b45c-93f6-81fbbb779c46 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8BC4:3F8AB1:1697EA0:1CCE83C:6B0120FD |
| html-safe-nonce | 57e9d952f80b1cf7a4ee87b7331c15f30e4061e9b5e88125c1d2b923a0d9fec1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QkM0OjNGOEFCMToxNjk3RUEwOjFDQ0U4M0M6NkIwMTIwRkQiLCJ2aXNpdG9yX2lkIjoiMzg5MjgxMjc3NjY3ODE3MDg3NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 2d811300bc88e3c0e0d20af1673dd95b5fb735e95cb2fa127f6808717389d689 |
| hovercard-subject-tag | issue:572849309 |
| 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/_view_fragments/issues/show/angular/angular/35757/issue_layout |
| twitter:image | https://opengraph.githubassets.com/05de5901e475f7f71fbbd4f4c0d6dcb585543af34996c0c61f4c2133b2ccf5f3/angular/angular/issues/35757 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/05de5901e475f7f71fbbd4f4c0d6dcb585543af34996c0c61f4c2133b2ccf5f3/angular/angular/issues/35757 |
| og:image:alt | 🐞 bug report Affected Package Probably @angular/cli, but I was asked to open the issue here. Is this a regression? Yes. The issue does not occur with Angular 9.0.2. Version 9.0.3 causes a different... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | YarnSphere |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular git https://github.com/angular/angular.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 24195339 |
| octolytics-dimension-repository_nwo | angular/angular |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24195339 |
| octolytics-dimension-repository_network_root_nwo | angular/angular |
| 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 | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width