Title: AoT hangs forever after updating from v6 to v7 (or v8) · Issue #15113 · angular/angular-cli · GitHub
Open Graph Title: AoT hangs forever after updating from v6 to v7 (or v8) · Issue #15113 · angular/angular-cli
X Title: AoT hangs forever after updating from v6 to v7 (or v8) · Issue #15113 · angular/angular-cli
Description: 🐞 Bug report Command (mark with an x) - [ ] new - [x] build - [x] serve - [ ] test - [ ] e2e - [ ] generate - [ ] add - [ ] update - [ ] lint - [ ] xi18n - [ ] run - [ ] config - [ ] help - [ ] version - [ ] doc Is this a regression? Yes...
Open Graph Description: 🐞 Bug report Command (mark with an x) - [ ] new - [x] build - [x] serve - [ ] test - [ ] e2e - [ ] generate - [ ] add - [ ] update - [ ] lint - [ ] xi18n - [ ] run - [ ] config - [ ] help - [ ] ver...
X Description: 🐞 Bug report Command (mark with an x) - [ ] new - [x] build - [x] serve - [ ] test - [ ] e2e - [ ] generate - [ ] add - [ ] update - [ ] lint - [ ] xi18n - [ ] run - [ ] config - [ ] help - [ ] ver...
Opengraph URL: https://github.com/angular/angular-cli/issues/15113
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"AoT hangs forever after updating from v6 to v7 (or v8)","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- [x] 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\nYes, the previous version in which this bug was not present was: v6 (latest)\r\n\r\n### Description\r\nWe got a quite large hybrid app (700+ Components, ~100 angularJs components/directives).\r\nBuild it **with AoT** works perfectly in Angular v6, but stops working in v7 or v8.\r\nBuilding it **without** AoT works in all versions without issues.\r\n\r\nThe problem is that we get no errors when building with AoT in v7 or v8. The build get stuck at 11% and will stay there even after 50+ hours.\r\n\r\nThis is the line it get stuck on:\r\n_11% building 13/14 modules 1 active ...epos\\Stream\\node_modules\\less-loader\\dist\\cjs.js??ref--14-3!C:\\Repos\\Stream\\src\\styles.less_\r\n\r\nIs there any way to get a more detailed log of what the compiler is trying to do?\r\n\r\nI'm out of ideas of how to fix this. I've tried looking at other issues with AoT or UpgradeModule, but none of them quite matches this or helps with my issue.\r\n\r\nI've done everything in https://update.angular.io/#6.1:7.0.\r\nWe run RxJS 6 without compat, and have removed HttpModule from everything\r\n\r\n## 🔬 Minimal Reproduction\r\nThis is the problem. I can't reproduce it in a new app with all our third party libs and styles included. Something in out code breaks AoT compilation in version 7 and 8.\r\n\r\nWe run our code with this line:\r\nnode --max_old_space_size=16386 ./node_modules/@angular/cli/bin/ng serve --port 3000\r\n\r\n## 🌍 Your Environment\r\n\r\nI tried v7@latest, v8, v8.1, v8@next\r\n\r\n**Angular Version:**\r\n\u003cpre>\u003ccode>\r\nAngular CLI: 8.2.0-next.0\r\nNode: 10.15.3\r\nOS: win32 x64\r\nAngular: 8.2.0-next.1\r\n... animations, common, compiler, compiler-cli, core, forms\r\n... language-service, platform-browser, platform-browser-dynamic\r\n... router, upgrade\r\n\r\nPackage Version\r\n-----------------------------------------------------------\r\n@angular-devkit/architect 0.802.0-next.0\r\n@angular-devkit/build-angular 0.802.0-next.0\r\n@angular-devkit/build-optimizer 0.802.0-next.0\r\n@angular-devkit/build-webpack 0.802.0-next.0\r\n@angular-devkit/core 8.2.0-next.0\r\n@angular-devkit/schematics 8.2.0-next.0\r\n@angular/cli 8.2.0-next.0\r\n@ngtools/webpack 8.2.0-next.0\r\n@schematics/angular 8.2.0-next.0\r\n@schematics/update 0.802.0-next.0\r\nrxjs 6.5.2\r\ntypescript 3.4.5\r\nwebpack 4.35.3\r\n\u003c/code>\u003c/pre>\r\n\r\n\u003cpre>\u003ccode>\r\n\"dependencies\": {\r\n \"@angular/animations\": \"8.2.0-next.1\",\r\n \"@angular/common\": \"8.2.0-next.1\",\r\n \"@angular/compiler\": \"8.2.0-next.1\",\r\n \"@angular/core\": \"8.2.0-next.1\",\r\n \"@angular/forms\": \"8.2.0-next.1\",\r\n \"@angular/platform-browser\": \"8.2.0-next.1\",\r\n \"@angular/platform-browser-dynamic\": \"8.2.0-next.1\",\r\n \"@angular/router\": \"8.2.0-next.1\",\r\n \"@angular/upgrade\": \"8.2.0-next.1\",\r\n \"@swimlane/ngx-datatable\": \"~15.0.2\",\r\n \"@yellowspot/ng-truncate\": \"^1.5.0\",\r\n \"angular\": \"~1.7.8\",\r\n \"angular-chart.js\": \"1.1.1\",\r\n \"angular-dynamic-locale\": \"~0.1.37\",\r\n \"angular-elastic\": \"~2.5.1\",\r\n \"angular-file-upload\": \"2.5.0\",\r\n \"angular-filter\": \"~0.5.17\",\r\n \"angular-i18n\": \"~1.7.8\",\r\n \"angular-l10n\": \"8.0.0\",\r\n \"angular-notification\": \"1.1.1\",\r\n \"angular-sanitize\": \"~1.7.8\",\r\n \"angular-smart-table\": \"2.1.11\",\r\n \"angular-ui-bootstrap\": \"~2.5.6\",\r\n \"angular2-cookie-law\": \"7.0.1\",\r\n \"awesome-bootstrap-checkbox\": \"~0.3.7\",\r\n \"blueimp-gallery\": \"~2.33.0\",\r\n \"bootstrap\": \"^3.4.1\",\r\n \"chart.js\": \"~2.8.0\",\r\n \"clipboard\": \"2.0.4\",\r\n \"core-js\": \"^3.1.4\",\r\n \"devextreme\": \"19.1.4\",\r\n \"devextreme-angular\": \"19.1.4\",\r\n \"devextreme-intl\": \"19.1.4\",\r\n \"dragula\": \"3.7.2\",\r\n \"dragular\": \"1.3.2\",\r\n \"file-saver\": \"2.0.2\",\r\n \"font-awesome\": \"4.7.0\",\r\n \"fraction.js\": \"~4.0.12\",\r\n \"hammerjs\": \"^2.0.8\",\r\n \"jquery\": \"^3.4.1\",\r\n \"moment\": \"~2.24.0\",\r\n \"msal\": \"1.0.2\",\r\n \"ng-tags-input\": \"3.2.0\",\r\n \"ng2-charts\": \"^2.3.0\",\r\n \"ng2-dragula\": \"2.1.1\",\r\n \"ng2-file-upload\": \"1.3.0\",\r\n \"ng2-select\": \"2.0.0\",\r\n \"nglocale\": \"^1.0.0\",\r\n \"ngx-bootstrap\": \"^5.1.0\",\r\n \"ngx-clipboard\": \"12.2.0\",\r\n \"ngx-cookie\": \"~4.0.2\",\r\n \"ngx-icon-picker\": \"^0.0.10\",\r\n \"ngx-quill\": \"~7.1.0\",\r\n \"pace-progress\": \"~1.0.2\",\r\n \"powerbi-client\": \"^2.7.5\",\r\n \"quill\": \"^1.3.6\",\r\n \"rxjs\": \"~6.5.2\",\r\n \"signalr\": \"~2.4.1\",\r\n \"simplebar\": \"\u003c4\",\r\n \"tslib\": \"^1.9.0\",\r\n \"underscore\": \"1.9.1\",\r\n \"zone.js\": \"~0.9.1\"\r\n },\r\n \"devDependencies\": {\r\n \"@angular-devkit/build-angular\": \"~0.802.0-next.0\",\r\n \"@angular/cli\": \"8.2.0-next.0\",\r\n \"@angular/compiler-cli\": \"8.2.0-next.1\",\r\n \"@angular/language-service\": \"8.2.0-next.1\",\r\n \"@babel/core\": \"^7.5.0\",\r\n \"@babel/preset-env\": \"^7.5.0\",\r\n \"@babel/register\": \"^7.4.4\",\r\n \"@cypress/webpack-preprocessor\": \"4.1.0\",\r\n \"@types/angular-file-upload\": \"^2.5.1\",\r\n \"@types/angular-signalr-hub\": \"^1.5.32\",\r\n \"@types/angular-ui-bootstrap\": \"^0.13.43\",\r\n \"@types/chai\": \"^4.1.2\",\r\n \"@types/file-saver\": \"^2.0.1\",\r\n \"@types/google.analytics\": \"^0.0.39\",\r\n \"@types/jasmine\": \"~3.3.0\",\r\n \"@types/jasminewd2\": \"~2.0.3\",\r\n \"@types/jquery\": \"^3.2.9\",\r\n \"@types/mocha\": \"^5.0.0\",\r\n \"@types/ng-file-upload\": \"^12.2.1\",\r\n \"@types/node\": \"^10.9.4\",\r\n \"@types/signalr\": \"^2.2.34\",\r\n \"@types/underscore\": \"^1.9.0\",\r\n \"chai\": \"^4.2.0\",\r\n \"codelyzer\": \"^5.0.1\",\r\n \"concurrently\": \"^4.1.1\",\r\n \"cypress\": \"~3.4.0\",\r\n \"fs-extra\": \"~8.1.0\",\r\n \"gulp\": \"^4.0.0\",\r\n \"gulp-angular-templatecache\": \"~3.0.0\",\r\n \"gulp-minify-html\": \"1.0.6\",\r\n \"husky\": \"^3.0.0\",\r\n \"jasmine-core\": \"~3.4.0\",\r\n \"jasmine-spec-reporter\": \"~4.2.1\",\r\n \"karma\": \"~4.2.0\",\r\n \"karma-chrome-launcher\": \"~3.0.0\",\r\n \"karma-coverage-istanbul-reporter\": \"~2.0.5\",\r\n \"karma-jasmine\": \"~2.0.1\",\r\n \"karma-jasmine-html-reporter\": \"^1.4.2\",\r\n \"lint-staged\": \"~9.2.0\",\r\n \"prettier\": \"~1.18.2\",\r\n \"prettier-tslint\": \"~0.4.2\",\r\n \"recursive-readdir\": \"2.2.2\",\r\n \"rxjs-tslint-rules\": \"~4.24.3\",\r\n \"ts-loader\": \"^6.0.4\",\r\n \"ts-node\": \"~8.3.0\",\r\n \"tslint\": \"~5.18.0\",\r\n \"tslint-config-prettier\": \"^1.18.0\",\r\n \"typescript\": \"3.4.5\",\r\n \"typescript-tslint-plugin\": \"~0.5.2\",\r\n \"webpack\": \"^4.35.0\",\r\n \"webpack-bundle-analyzer\": \"^3.3.2\",\r\n \"yarn\": \"~1.17.0\"\r\n }\r\n\u003c/code>\u003c/pre>\r\n","author":{"url":"https://github.com/runeabrahams1","@type":"Person","name":"runeabrahams1"},"datePublished":"2019-07-18T06:30:22Z","url":"https://github.com/angular/angular-cli/issues/15113"}
| 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:7b71fb2c-577a-4a07-58c5-b4f0cdde43d9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EB96:2BE220:1877914:20AC3BB:6B014CC3 |
| html-safe-nonce | e17d9fce7b2b53af57864828189816ddbd3aa16e5b6e066b8a736bc2e1527913 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjk2OjJCRTIyMDoxODc3OTE0OjIwQUMzQkI6NkIwMTRDQzMiLCJ2aXNpdG9yX2lkIjoiNDM0MjM2MDg1MzE1NzMzNDIxMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8a262f76c605b42e8a81884246efa58a2d69b29cc3e0a723297bfb2800f8d80b |
| hovercard-subject-tag | issue:469592503 |
| 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/15113/issue_layout |
| twitter:image | https://opengraph.githubassets.com/87d926d41b75f79dc5ac3f5200a4998df534c515cde5d8308c4e835bebcfdff1/angular/angular-cli/issues/15113 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/87d926d41b75f79dc5ac3f5200a4998df534c515cde5d8308c4e835bebcfdff1/angular/angular-cli/issues/15113 |
| og:image:alt | 🐞 Bug report Command (mark with an x) - [ ] new - [x] build - [x] serve - [ ] test - [ ] e2e - [ ] generate - [ ] add - [ ] update - [ ] lint - [ ] xi18n - [ ] run - [ ] config - [ ] help - [ ] ver... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | runeabrahams1 |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| 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 | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width