Title: Error in project build after updating to 9.0.4 from 9.0.2 (regression??) · Issue #35770 · angular/angular · GitHub
Open Graph Title: Error in project build after updating to 9.0.4 from 9.0.2 (regression??) · Issue #35770 · angular/angular
X Title: Error in project build after updating to 9.0.4 from 9.0.2 (regression??) · Issue #35770 · angular/angular
Description: 🐞 bug report Prior to updating 9.0.4, running ng build and ng serve doesn't encounter any compilation error, but after updating I'm getting Javascript heap out of memory. The weird part is, clearing/deleting node_modules and re-installin...
Open Graph Description: 🐞 bug report Prior to updating 9.0.4, running ng build and ng serve doesn't encounter any compilation error, but after updating I'm getting Javascript heap out of memory. The weird part is, clearin...
X Description: 🐞 bug report Prior to updating 9.0.4, running ng build and ng serve doesn't encounter any compilation error, but after updating I'm getting Javascript heap out of memory. The weird part is,...
Opengraph URL: https://github.com/angular/angular/issues/35770
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error in project build after updating to 9.0.4 from 9.0.2 (regression??)","articleBody":"# 🐞 bug report\r\nPrior to updating 9.0.4, running `ng build` and `ng serve` doesn't encounter any compilation error, but after updating I'm getting `Javascript heap out of memory`.\r\n\r\nThe weird part is, clearing/deleting `node_modules` and re-installing via `npm install`, the compile error goes away.\r\n\r\nNOTE: Actually I posted already that I was getting this error yesterday, but somehow the issue got deleted by somebody.\r\n\r\n\r\n### Affected Package\r\n@angular/core 9.0.4\r\n\r\n### Is this a regression?\r\nI'm not sure if this should be treated as regression or an actual bug, since build failure goes away after deleting `node_modules` and re-installing via `npm install`.\r\n\r\n\r\n### Description\r\nPrior to updating to @angular/core 9.0.4, no issues upon running `ng build` and/or `ng serve`\r\n\r\nBelow is prior to updating to 9.0.4\r\n\r\n(Angular Core version 9.0.2)\r\n\r\n\r\nAfter updating to 9.0.4 this happens running `ng build`\r\n\r\n\r\nBUT..... (a big BUT!!)\r\n\r\nI tried the following, and suddenly `ng build` and/or `ng server` works \r\nI tried deleting `node_module` directory and re-installed the node packages `npm install` and now the build error is gone!?\r\n\r\n\r\n## 🔬 Minimal Reproduction\r\nCurrently, I don't have a minimal reproduction repo available, the project is already big as of now so creating a minimal reproduction is out of the picture due lack of time to do it.\r\n\r\n\r\n## 🔥 Exception or Error\r\n\r\n\r\n\r\n## 🌍 Your Environment\r\nPrior version\r\n\r\n\r\n**Angular Version:**\r\n\u003cpre>\u003ccode>\r\n _ _ ____ _ ___\r\n / \\ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|\r\n / △ \\ | '_ \\ / _` | | | | |/ _` | '__| | | | | | |\r\n / ___ \\| | | | (_| | |_| | | (_| | | | |___| |___ | |\r\n /_/ \\_\\_| |_|\\__, |\\__,_|_|\\__,_|_| \\____|_____|___|\r\n |___/\r\n \r\n\r\nAngular CLI: 9.0.4\r\nNode: 10.19.0\r\nOS: darwin x64\r\n\r\nAngular: 9.0.4\r\n... animations, cli, common, compiler, compiler-cli, core, forms\r\n... language-service, localize, platform-browser\r\n... 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-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@ngtools/webpack 9.0.4\r\n@schematics/angular 9.0.4\r\n@schematics/update 0.900.4\r\nrxjs 6.5.4\r\ntypescript 3.8.2\r\nwebpack 4.41.2\r\n\u003c/code>\u003c/pre>\r\n\r\n**Anything else relevant?**\r\nI'm not sure if this was related to the build issues with core version 9.0.3.\r\n","author":{"url":"https://github.com/AcidSlide","@type":"Person","name":"AcidSlide"},"datePublished":"2020-02-29T03:20:27Z","url":"https://github.com/angular/angular/issues/35770"}
| 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:47371016-e9c9-0d02-eadd-15de802a050b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C936:21BD98:8EDD12:B48F70:6B012305 |
| html-safe-nonce | 4570b65ca31ef1a613ec97bea11fa077759d6409af27befecb6ffe33b6967b90 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOTM2OjIxQkQ5ODo4RUREMTI6QjQ4RjcwOjZCMDEyMzA1IiwidmlzaXRvcl9pZCI6IjQzMjcyMjUwNTc2OTM3Mzc3MzMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2c404ca7f4b5d64798b9342c940cb4de1a8181598567baaf675792455ec8ff90 |
| hovercard-subject-tag | issue:573136993 |
| 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/35770/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4355ec9c1774c0994e29765d842700884c936eb6b54c3329846e7b9ac243a8ea/angular/angular/issues/35770 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4355ec9c1774c0994e29765d842700884c936eb6b54c3329846e7b9ac243a8ea/angular/angular/issues/35770 |
| og:image:alt | 🐞 bug report Prior to updating 9.0.4, running ng build and ng serve doesn't encounter any compilation error, but after updating I'm getting Javascript heap out of memory. The weird part is, clearin... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | AcidSlide |
| 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