Title: rc.8 to rc.9|rc.10 regression : stuck in "Generating ES5 bundles for differential loading..." if sourceMap is on · Issue #16731 · angular/angular-cli · GitHub
Open Graph Title: rc.8 to rc.9|rc.10 regression : stuck in "Generating ES5 bundles for differential loading..." if sourceMap is on · Issue #16731 · angular/angular-cli
X Title: rc.8 to rc.9|rc.10 regression : stuck in "Generating ES5 bundles for differential loading..." if sourceMap is on · Issue #16731 · angular/angular-cli
Description: 🐞 Bug report Command (mark with an x) new build serve test e2e generate add update lint xi18n run config help version doc Is this a regression? Yes with sourceMap: true or sourceMap: { "scripts": true, "styles": true, "vendor": true } wo...
Open Graph Description: 🐞 Bug report Command (mark with an x) new build serve test e2e generate add update lint xi18n run config help version doc Is this a regression? Yes with sourceMap: true or sourceMap: { "scripts": t...
X Description: 🐞 Bug report Command (mark with an x) new build serve test e2e generate add update lint xi18n run config help version doc Is this a regression? Yes with sourceMap: true or sourceMap: { "script...
Opengraph URL: https://github.com/angular/angular-cli/issues/16731
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"rc.8 to rc.9|rc.10 regression : stuck in \"Generating ES5 bundles for differential loading...\" if sourceMap is on","articleBody":"# 🐞 Bug report\r\n\r\n### Command (mark with an `x`)\r\n\u003c!-- Can you pin-point the command or commands that are effected by this bug? -->\r\n\u003c!-- ✍️edit: -->\r\n\r\n- [ ] new\r\n- [x] build\r\n- [ ] serve\r\n- [ ] test\r\n- [ ] e2e\r\n- [ ] generate\r\n- [ ] add\r\n- [ ] update\r\n- [ ] lint\r\n- [ ] xi18n\r\n- [ ] run\r\n- [ ] config\r\n- [ ] help\r\n- [ ] version\r\n- [ ] doc\r\n\r\n\r\n### Is this a regression?\r\n\r\nYes\r\n\r\nwith sourceMap: true or sourceMap: { \"scripts\": true, \"styles\": true, \"vendor\": true }\r\n\r\nworks with \r\n \"@angular-devkit/build-angular\": \"0.900.0-rc.8\",\r\n \"@angular/cli\": \"9.0.0-rc.8\",\r\n\r\nand even with\r\n \"@angular-devkit/build-angular\": \"0.900.0-rc.8\",\r\n \"@angular/cli\": \"9.0.0-rc.10\",\r\n\r\nbut fails with\r\n \"@angular-devkit/build-angular\": \"0.900.0-rc.9\",\r\n \"@angular/cli\": \"9.0.0-rc.9\",\r\nor \r\n \"@angular-devkit/build-angular\": \"0.900.0-rc.10\",\r\n \"@angular/cli\": \"9.0.0-rc.10\",\r\n\r\n\r\n\r\n### Description\r\n\r\nBuilding a project with sourceMap:true using @angular-devkit/build-angular rc.9 or rc.10 results in build stuck (from few seconds when working to > 20 min and counting - did not have patience to wait for an eventual end or crash) in \"Generating ES5 bundles for differential loading...\" phase\r\n\r\nBuilding the same project with @angular-devkit/build-angular rc.8 works well (30 seconds)\r\n\r\nSetting sourceMap: false solves the problem with rc.9 or rc.10\r\n\r\nproject dependencies :\r\n\r\n```json\r\n\"dependencies\": {\r\n \"@angular/animations\": \"9.0.0-rc.9\",\r\n \"@angular/common\": \"9.0.0-rc.9\",\r\n \"@angular/compiler\": \"9.0.0-rc.9\",\r\n \"@angular/core\": \"9.0.0-rc.9\",\r\n \"@angular/forms\": \"9.0.0-rc.9\",\r\n \"@angular/localize\": \"9.0.0-rc.9\",\r\n \"@angular/platform-browser\": \"9.0.0-rc.9\",\r\n \"@angular/platform-browser-dynamic\": \"9.0.0-rc.9\",\r\n \"@angular/platform-server\": \"9.0.0-rc.9\",\r\n \"@angular/pwa\": \"0.900.0-rc.9\",\r\n \"@angular/router\": \"9.0.0-rc.9\",\r\n \"@angular/service-worker\": \"9.0.0-rc.9\",\r\n \"@fortawesome/fontawesome-pro\": \"^5.12.0\",\r\n \"@ng-bootstrap/ng-bootstrap\": \"^5.2.0\",\r\n \"@nguniversal/express-engine\": \"^9.0.0-next.14\",\r\n \"@sentry/browser\": \"^5.11.1\",\r\n \"@sentry/node\": \"^5.11.1\",\r\n \"autotrack\": \"^2.4.1\",\r\n \"bootstrap\": \"^4.4.1\",\r\n \"compression\": \"^1.7.4\",\r\n \"connect-timeout\": \"^1.9.0\",\r\n \"cookie-parser\": \"^1.4.4\",\r\n \"express\": \"^4.17.1\",\r\n \"flag-icon-css\": \"^3.4.5\",\r\n \"lodash-es\": \"^4.17.15\",\r\n \"memory-cache\": \"^0.2.0\",\r\n \"ng-cli-pug-loader\": \"^0.2.2\",\r\n \"ng2-pdf-viewer\": \"^6.0.2\",\r\n \"rxjs\": \"~6.5.4\",\r\n \"tslib\": \"^1.10.0\",\r\n \"typeface-lato\": \"^0.0.75\",\r\n \"typeface-oswald\": \"^1.1.3\",\r\n \"typeface-roboto\": \"^0.0.75\",\r\n \"typeface-ubuntu\": \"^0.0.65\",\r\n \"zone.js\": \"~0.10.2\"\r\n },\r\n```\r\n\r\nbuild portion of angular.json \r\n\r\n```json\r\n{\r\n \"fileReplacements\": [\r\n {\r\n \"replace\": \"src/environments/environment.ts\",\r\n \"with\": \"src/environments/environment.staging.ts\"\r\n }\r\n ],\r\n \"optimization\": true,\r\n \"outputHashing\": \"all\",\r\n \"outputPath\": \"dist/browser\",\r\n \"sourceMap\": true,\r\n \"extractCss\": true,\r\n \"namedChunks\": false,\r\n \"aot\": true,\r\n \"extractLicenses\": true,\r\n \"vendorChunk\": false,\r\n \"buildOptimizer\": true,\r\n \"budgets\": [\r\n {\r\n \"type\": \"initial\",\r\n \"maximumWarning\": \"2mb\",\r\n \"maximumError\": \"5mb\"\r\n }\r\n ],\r\n \"baseHref\": \"/\",\r\n \"localize\": [\"fr\", \"en\", \"de\", \"es\"]\r\n },\r\n```\r\n\r\ntsconfig.json\r\n\r\n```json\r\n{\r\n \"compileOnSave\": false,\r\n \"compilerOptions\": {\r\n \"baseUrl\": \"./\",\r\n \"outDir\": \"./dist/out-tsc\",\r\n \"sourceMap\": true,\r\n \"declaration\": false,\r\n \"downlevelIteration\": true,\r\n \"experimentalDecorators\": true,\r\n \"module\": \"esnext\",\r\n \"moduleResolution\": \"node\",\r\n \"importHelpers\": false,\r\n \"target\": \"es2015\",\r\n \"typeRoots\": [\r\n \"node_modules/@types\"\r\n ],\r\n \"lib\": [\r\n \"es2018\",\r\n \"dom\"\r\n ]\r\n },\r\n \"angularCompilerOptions\": {\r\n \"fullTemplateTypeCheck\": true,\r\n \"strictInjectionParameters\": true\r\n }\r\n}\r\n```\r\n\r\n(also tried with fullTemplateTypeCheck to false with no difference.\r\n\r\n## 🔬 Minimal Reproduction\r\n\r\nI have not been able to setup a minimal reproduction, and the project is internal. But i can setup a private repo and share it if needed.\r\n\r\n## 🌍 Your Environment\r\n\u003cpre>\u003ccode>\r\nAngular CLI: 9.0.0-rc.10\r\nNode: 10.18.1\r\nOS: linux x64\r\n\r\nAngular: 9.0.0-rc.9\r\n... animations, common, compiler, compiler-cli, core, forms\r\n... language-service, localize, platform-browser\r\n... platform-browser-dynamic, platform-server, router\r\n... service-worker\r\nIvy Workspace: Yes\r\n\r\nPackage Version\r\n-----------------------------------------------------------\r\n@angular-devkit/architect 0.900.0-rc.10\r\n@angular-devkit/build-angular 0.900.0-rc.10\r\n@angular-devkit/build-optimizer 0.900.0-rc.10\r\n@angular-devkit/build-webpack 0.900.0-rc.10\r\n@angular-devkit/core 9.0.0-rc.10\r\n@angular-devkit/schematics 9.0.0-rc.10\r\n@angular/cli 9.0.0-rc.10\r\n@angular/pwa 0.900.0-rc.9\r\n@ngtools/webpack 9.0.0-rc.10\r\n@nguniversal/common 9.0.0-rc.0\r\n@nguniversal/express-engine 9.0.0-rc.0\r\n@schematics/angular 9.0.0-rc.10\r\n@schematics/update 0.900.0-rc.10\r\nrxjs 6.5.4\r\ntypescript 3.7.5\r\nwebpack 4.41.2\r\n\r\n\u003c/code>\u003c/pre>\r\n\r\n","author":{"url":"https://github.com/jmbarbier","@type":"Person","name":"jmbarbier"},"datePublished":"2020-01-22T10:25:09Z","url":"https://github.com/angular/angular-cli/issues/16731"}
| 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:e5b25ba1-386e-e227-621f-73669d09dd84 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E894:2F4BD9:10CF686:163AF5A:6B010D6F |
| html-safe-nonce | 1409ee0962676130f624d8d311371e3c6b4f6d9ac3fa3fac72089609ad391ddb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFODk0OjJGNEJEOToxMENGNjg2OjE2M0FGNUE6NkIwMTBENkYiLCJ2aXNpdG9yX2lkIjoiNTEwMzk1MzUxMjE3MDA2NTI2MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 90b4386eec53222a1a03f43bee1930c74b9de0505aac01d4109dd8921ac1b376 |
| hovercard-subject-tag | issue:553444940 |
| 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-cli/16731/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ae84a230bde5d09ddc0aabe4b67637d34dbe831e544f16ee6f8b15731a271a62/angular/angular-cli/issues/16731 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ae84a230bde5d09ddc0aabe4b67637d34dbe831e544f16ee6f8b15731a271a62/angular/angular-cli/issues/16731 |
| og:image:alt | 🐞 Bug report Command (mark with an x) new build serve test e2e generate add update lint xi18n run config help version doc Is this a regression? Yes with sourceMap: true or sourceMap: { "scripts": t... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jmbarbier |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124 |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular-cli git https://github.com/angular/angular-cli.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 36891867 |
| octolytics-dimension-repository_nwo | angular/angular-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 36891867 |
| octolytics-dimension-repository_network_root_nwo | angular/angular-cli |
| 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 | 2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width