Title: ngcc crashing on every CI build · Issue #36278 · angular/angular · GitHub
Open Graph Title: ngcc crashing on every CI build · Issue #36278 · angular/angular
X Title: ngcc crashing on every CI build · Issue #36278 · angular/angular
Description: 🐞 bug report Affected Package The issue is caused by package @angular/compiler-cli - specifically `ngcc` Is this a regression? Yes, the previous version in which this bug was not present was: 9.0 (or maybe 8.2) Description when ngcc runs...
Open Graph Description: 🐞 bug report Affected Package The issue is caused by package @angular/compiler-cli - specifically `ngcc` Is this a regression? Yes, the previous version in which this bug was not present was: 9.0 (...
X Description: 🐞 bug report Affected Package The issue is caused by package @angular/compiler-cli - specifically `ngcc` Is this a regression? Yes, the previous version in which this bug was not present was: 9.0 (...
Opengraph URL: https://github.com/angular/angular/issues/36278
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ngcc crashing on every CI build","articleBody":"\u003c!--🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅\r\n\r\nOh hi there! 😄\r\n\r\nTo expedite issue processing please search open and closed issues before submitting a new one.\r\nExisting issues often contain information about workarounds, resolution, or progress updates.\r\n\r\n🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅-->\r\n\r\n\r\n# 🐞 bug report\r\n\r\n### Affected Package\r\n\u003c!-- Can you pin-point one or more @angular/* packages as the source of the bug? -->\r\n\u003c!-- ✍️edit: --> The issue is caused by package @angular/compiler-cli - specifically `ngcc`\r\n\r\n\r\n### Is this a regression?\r\n\r\n\u003c!-- Did this behavior use to work in the previous version? -->\r\n\u003c!-- ✍️--> Yes, the previous version in which this bug was not present was: 9.0 (or maybe 8.2)\r\n\r\n\r\n### Description\r\n\r\n\u003c!-- ✍️--> when ngcc runs on circle-ci it fails every time, but if I SSH into the container and run ngcc it completes successfully.\r\n\r\n\r\n## 🔬 Minimal Reproduction\r\nhttps://github.com/paustint/test-ivy-app\r\n\r\nExample failing builds:\r\nhttps://app.circleci.com/pipelines/github/paustint/test-ivy-app/1/workflows/e3719bbe-f02c-40c0-8f6f-40c7e61f09ef/jobs/1\r\n\r\nhttps://app.circleci.com/pipelines/github/paustint/test-ivy-app/1/workflows/e3719bbe-f02c-40c0-8f6f-40c7e61f09ef/jobs/2\r\n\r\n**Note** This fails 100% of the time, but fails while compiling seemingly different packages (e.x. it is not consistently failing while compiling any specific package.\r\n\r\n## 🔥 Exception or Error\r\n\u003cpre>\u003ccode>\r\nDebug: Forking unlocker child-process\r\nDebug: Attemping to write lock-file at /home/circleci/app/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__ with PID 192\r\nDebug: Written lock-file at /home/circleci/app/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__ with PID 192\r\nDebug: Running ngcc on ClusterExecutor (using 8 worker processes).\r\nDebug: Analyzing entry-points...\r\nDebug: No manifest found for /home/circleci/app/node_modules so walking the directories for entry-points.\r\nDebug: Starting unlocker at process 199 on behalf of process 192\r\nDebug: The lock-file path is /home/circleci/app/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__\r\nDebug: Walking directories took 0.5s.\r\nDebug: Invalid entry-point /home/circleci/app/node_modules/@angular/common/upgrade. It is missing required dependencies:\r\n - @angular/upgrade/static\r\nDebug: Invalid entry-point /home/circleci/app/node_modules/@angular/router/upgrade. It is missing required dependencies:\r\n - @angular/upgrade/static\r\nDebug: Analyzed 51 entry-points in 2.1s. (Total tasks: 255)\r\nDebug: Processing tasks...\r\nDebug: Spawning another worker process as there is more work to be done.\r\nDebug: Spawning another worker process as there is more work to be done.\r\nDebug: Spawning another worker process as there is more work to be done.\r\nDebug: Spawning another worker process as there is more work to be done.\r\nDebug: Spawning another worker process as there is more work to be done.\r\nDebug: No assignments for 1 idle (out of 6 total) workers. Busy workers: 1, 2, 3, 4, 5\r\nDebug: Forking unlocker child-process\r\nDebug: [Worker #1] Processing task: {entryPoint: @angular/core, formatProperty: fesm2015, processDts: true}\r\nDebug: Forking unlocker child-process\r\nDebug: [Worker #2] Processing task: {entryPoint: @angular/animations, formatProperty: fesm2015, processDts: true}\r\nDebug: Forking unlocker child-process\r\nDebug: [Worker #3] Processing task: {entryPoint: @angular/cdk/keycodes, formatProperty: fesm2015, processDts: true}\r\nDebug: Forking unlocker child-process\r\nDebug: [Worker #4] Processing task: {entryPoint: @angular/compiler/testing, formatProperty: fesm2015, processDts: true}\r\nDebug: Forking unlocker child-process\r\nDebug: Forking unlocker child-process\r\nDebug: [Worker #5] Processing task: {entryPoint: @angular/service-worker/config, formatProperty: fesm2015, processDts: true}\r\nDebug: Starting unlocker at process 248 on behalf of process 206\r\nDebug: The lock-file path is /home/circleci/app/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__\r\nDebug: Starting unlocker at process 255 on behalf of process 213\r\nDebug: The lock-file path is /home/circleci/app/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__\r\nDebug: Starting unlocker at process 262 on behalf of process 220\r\nDebug: The lock-file path is /home/circleci/app/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__\r\nDebug: Starting unlocker at process 269 on behalf of process 227\r\nDebug: The lock-file path is /home/circleci/app/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__\r\nDebug: Starting unlocker at process 277 on behalf of process 234\r\nDebug: The lock-file path is /home/circleci/app/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__\r\nDebug: Starting unlocker at process 276 on behalf of process 241\r\nDebug: The lock-file path is /home/circleci/app/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__\r\nCompiling @angular/cdk/keycodes : fesm2015 as esm2015\r\nCompiling @angular/animations : fesm2015 as esm2015\r\nDebug: Successfully compiled @angular/cdk/keycodes : fesm2015\r\nDebug: Spawning another worker process as there is more work to be done.\r\nDebug: [Worker #3] Processing task: {entryPoint: @angular/cdk/keycodes, formatProperty: fesm5, processDts: false}\r\nDebug: [Worker #6] Processing task: {entryPoint: @angular/cdk/keycodes, formatProperty: esm2015, processDts: false}\r\nDebug: Spawning another worker process as there is more work to be done.\r\nCompiling @angular/service-worker/config : fesm2015 as esm2015\r\nDebug: Successfully compiled @angular/animations : fesm2015\r\nDebug: Spawning another worker process as there is more work to be done.\r\nDebug: [Worker #2] Processing task: {entryPoint: @angular/animations, formatProperty: fesm5, processDts: false}\r\nDebug: All 8 workers are currently busy and cannot take on more work.\r\nDebug: Successfully compiled @angular/service-worker/config : fesm2015\r\nDebug: All 8 workers are currently busy and cannot take on more work.\r\nDebug: [Worker #5] Processing task: {entryPoint: @angular/animations, formatProperty: esm5, processDts: false}\r\nDebug: All 9 workers are currently busy and cannot take on more work.\r\nCompiling @angular/cdk/keycodes : fesm5 as esm5\r\nCompiling @angular/compiler/testing : fesm2015 as esm2015\r\nDebug: Successfully compiled @angular/cdk/keycodes : fesm5\r\nDebug: All 9 workers are currently busy and cannot take on more work.\r\nDebug: [Worker #3] Processing task: {entryPoint: @angular/cdk/keycodes, formatProperty: main, processDts: false}\r\nCompiling @angular/animations : fesm5 as esm5\r\nDebug: Successfully compiled @angular/compiler/testing : fesm2015\r\nDebug: All 9 workers are currently busy and cannot take on more work.\r\nDebug: [Worker #4] Processing task: {entryPoint: @angular/compiler/testing, formatProperty: fesm5, processDts: false}\r\nDebug: Successfully compiled @angular/animations : fesm5\r\nDebug: All 9 workers are currently busy and cannot take on more work.\r\nDebug: [Worker #2] Processing task: {entryPoint: @angular/compiler/testing, formatProperty: esm2015, processDts: false}\r\nCompiling @angular/animations : esm5 as esm5\r\nDebug: Successfully compiled @angular/animations : esm5\r\nDebug: All 9 workers are currently busy and cannot take on more work.\r\nDebug: [Worker #5] Processing task: {entryPoint: @angular/compiler/testing, formatProperty: esm5, processDts: false}\r\nDebug: Forking unlocker child-process\r\nDebug: [Worker #7] Processing task: {entryPoint: @angular/cdk/keycodes, formatProperty: esm5, processDts: false}\r\nCompiling @angular/cdk/keycodes : esm2015 as esm2015\r\nDebug: Forking unlocker child-process\r\nDebug: Forking unlocker child-process\r\nCompiling @angular/cdk/keycodes : main as umd\r\nDebug: [Worker #8] Processing task: {entryPoint: @angular/animations, formatProperty: esm2015, processDts: false}\r\nDebug: [Worker #9] Processing task: {entryPoint: @angular/animations, formatProperty: main, processDts: false}\r\nDebug: Successfully compiled @angular/cdk/keycodes : esm2015\r\nDebug: All 9 workers are currently busy and cannot take on more work.\r\nDebug: [Worker #6] Processing task: {entryPoint: @angular/compiler/testing, formatProperty: main, processDts: false}\r\nDebug: Successfully compiled @angular/cdk/keycodes : main\r\nDebug: All 9 workers are currently busy and cannot take on more work.\r\nDebug: [Worker #3] Processing task: {entryPoint: @angular/service-worker/config, formatProperty: fesm5, processDts: false}\r\nDebug: Starting unlocker at process 316 on behalf of process 295\r\nDebug: The lock-file path is /home/circleci/app/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__\r\nCompiling @angular/compiler/testing : fesm5 as esm5\r\nDebug: Starting unlocker at process 323 on behalf of process 302\r\nDebug: The lock-file path is /home/circleci/app/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__\r\nDebug: Successfully compiled @angular/compiler/testing : fesm5\r\nDebug: All 9 workers are currently busy and cannot take on more work.\r\nDebug: [Worker #4] Processing task: {entryPoint: @angular/service-worker/config, formatProperty: esm2015, processDts: false}\r\nDebug: Starting unlocker at process 324 on behalf of process 309\r\nDebug: The lock-file path is /home/circleci/app/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__\r\nCompiling @angular/service-worker/config : fesm5 as esm5\r\nDebug: Successfully compiled @angular/service-worker/config : fesm5\r\nDebug: All 9 workers are currently busy and cannot take on more work.\r\nDebug: [Worker #3] Processing task: {entryPoint: @angular/service-worker/config, formatProperty: esm5, processDts: false}\r\nCompiling @angular/cdk/keycodes : esm5 as esm5\r\nCompiling @angular/service-worker/config : esm2015 as esm2015\r\nDebug: Successfully compiled @angular/service-worker/config : esm2015\r\nDebug: All 9 workers are currently busy and cannot take on more work.\r\nDebug: [Worker #4] Processing task: {entryPoint: @angular/service-worker/config, formatProperty: main, processDts: false}\r\nDebug: Successfully compiled @angular/cdk/keycodes : esm5\r\nDebug: No assignments for 1 idle (out of 9 total) workers. Busy workers: 1, 2, 3, 4, 5, 6, 8, 9\r\nCompiling @angular/animations : main as umd\r\nCompiling @angular/animations : esm2015 as esm2015\r\nCompiling @angular/compiler/testing : main as umd\r\nCompiling @angular/service-worker/config : esm5 as esm5\r\nDebug: Successfully compiled @angular/service-worker/config : esm5\r\nDebug: No assignments for 2 idle (out of 9 total) workers. Busy workers: 1, 2, 4, 5, 6, 8, 9\r\nDebug: Successfully compiled @angular/animations : esm2015\r\nDebug: No assignments for 3 idle (out of 9 total) workers. Busy workers: 1, 2, 4, 5, 6, 9\r\nDebug: Successfully compiled @angular/animations : main\r\nDebug: No assignments for 4 idle (out of 9 total) workers. Busy workers: 1, 2, 4, 5, 6\r\nDebug: Successfully compiled @angular/compiler/testing : main\r\nDebug: No assignments for 5 idle (out of 9 total) workers. Busy workers: 1, 2, 4, 5\r\nCompiling @angular/core : fesm2015 as esm2015\r\nCompiling @angular/compiler/testing : esm2015 as esm2015\r\nDebug: Successfully compiled @angular/compiler/testing : esm2015\r\nDebug: No assignments for 6 idle (out of 9 total) workers. Busy workers: 1, 4, 5\r\nCompiling @angular/service-worker/config : main as umd\r\nCompiling @angular/compiler/testing : esm5 as esm5\r\nDebug: Successfully compiled @angular/compiler/testing : esm5\r\nDebug: No assignments for 7 idle (out of 9 total) workers. Busy workers: 1, 4\r\nDebug: Successfully compiled @angular/service-worker/config : main\r\nDebug: No assignments for 8 idle (out of 9 total) workers. Busy workers: 1\r\nDebug: Successfully compiled @angular/core : fesm2015\r\nDebug: [Worker #1] Processing task: {entryPoint: @angular/common, formatProperty: fesm2015, processDts: true}\r\nDebug: [Worker #2] Processing task: {entryPoint: @angular/cdk/collections, formatProperty: fesm2015, processDts: true}\r\nDebug: [Worker #4] Processing task: {entryPoint: @angular/animations/browser, formatProperty: fesm2015, processDts: true}\r\nDebug: [Worker #6] Processing task: {entryPoint: @angular/core/testing, formatProperty: fesm2015, processDts: true}\r\nDebug: All 9 workers are currently busy and cannot take on more work.\r\nDebug: [Worker #5] Processing task: {entryPoint: @angular/cdk/observers, formatProperty: fesm2015, processDts: true}\r\nDebug: [Worker #3] Processing task: {entryPoint: @ngrx/store, formatProperty: fesm2015, processDts: true}\r\nDebug: [Worker #7] Processing task: {entryPoint: ngx-window-token, formatProperty: fesm2015, processDts: true}\r\nDebug: [Worker #8] Processing task: {entryPoint: @angular/core, formatProperty: fesm5, processDts: false}\r\nDebug: [Worker #9] Processing task: {entryPoint: @angular/core, formatProperty: esm2015, processDts: false}\r\nCompiling @angular/cdk/collections : fesm2015 as esm2015\r\nCompiling @angular/common : fesm2015 as esm2015\r\nDebug: Successfully compiled @angular/cdk/collections : fesm2015\r\nDebug: All 9 workers are currently busy and cannot take on more work.\r\nDebug: [Worker #2] Processing task: {entryPoint: @angular/cdk/accordion, formatProperty: fesm2015, processDts: true}\r\nCompiling @angular/animations/browser : fesm2015 as esm2015\r\nCompiling ngx-window-token : fesm2015 as esm2015\r\nDebug: Successfully compiled ngx-window-token : fesm2015\r\nDebug: All 9 workers are currently busy and cannot take on more work.\r\nDebug: [Worker #7] Processing task: {entryPoint: @angular/core, formatProperty: esm5, processDts: false}\r\nDebug: Successfully compiled @angular/common : fesm2015\r\nDebug: All 9 workers are currently busy and cannot take on more work.\r\nDebug: [Worker #1] Processing task: {entryPoint: @angular/cdk/platform, formatProperty: fesm2015, processDts: true}\r\nCompiling @ngrx/store : fesm2015 as esm2015\r\nCompiling @angular/cdk/observers : fesm2015 as esm2015\r\nDebug: Successfully compiled @angular/animations/browser : fesm2015\r\nDebug: All 9 workers are currently busy and cannot take on more work.\r\nDebug: [Worker #4] Processing task: {entryPoint: @angular/cdk/bidi, formatProperty: fesm2015, processDts: true}\r\nCompiling @angular/core/testing : fesm2015 as esm2015\r\nCompiling @angular/core : fesm5 as esm5\r\nDebug: Successfully compiled @angular/cdk/observers : fesm2015\r\nDebug: All 9 workers are currently busy and cannot take on more work.\r\nDebug: [Worker #5] Processing task: {entryPoint: @angular/platform-browser, formatProperty: fesm2015, processDts: true}\r\nDebug: Successfully compiled @ngrx/store : fesm2015\r\nDebug: All 9 workers are currently busy and cannot take on more work.\r\nDebug: [Worker #3] Processing task: {entryPoint: @angular/common/http, formatProperty: fesm2015, processDts: true}\r\nDebug: Successfully compiled @angular/core/testing : fesm2015\r\nDebug: All 9 workers are currently busy and cannot take on more work.\r\nDebug: [Worker #6] Processing task: {entryPoint: @angular/forms, formatProperty: fesm2015, processDts: true}\r\nCompiling @angular/cdk/accordion : fesm2015 as esm2015\r\nCompiling @angular/cdk/platform : fesm2015 as esm2015\r\nDebug: Successfully compiled @angular/cdk/platform : fesm2015\r\nDebug: All 9 workers are currently busy and cannot take on more work.\r\nDebug: [Worker #1] Processing task: {entryPoint: @angular/cdk/a11y, formatProperty: fesm2015, processDts: true}\r\nDebug: Successfully compiled @angular/cdk/accordion : fesm2015\r\nDebug: All 9 workers are currently busy and cannot take on more work.\r\nDebug: [Worker #2] Processing task: {entryPoint: @angular/cdk/portal, formatProperty: fesm2015, processDts: true}\r\nDebug: Successfully compiled @angular/core : fesm5\r\nDebug: All 9 workers are currently busy and cannot take on more work.\r\nDebug: [Worker #8] Processing task: {entryPoint: @angular/common/testing, formatProperty: fesm2015, processDts: true}\r\nCompiling @angular/core : esm2015 as esm2015\r\nCompiling @angular/cdk/bidi : fesm2015 as esm2015\r\nDebug: Successfully compiled @angular/cdk/bidi : fesm2015\r\nDebug: All 9 workers are currently busy and cannot take on more work.\r\nDebug: [Worker #4] Processing task: {entryPoint: @angular/cdk/scrolling, formatProperty: fesm2015, processDts: true}\r\nCompiling @angular/platform-browser : fesm2015 as esm2015\r\nDebug: Successfully compiled @angular/core : esm2015\r\nDebug: All 9 workers are currently busy and cannot take on more work.\r\nDebug: [Worker #9] Processing task: {entryPoint: @angular/router, formatProperty: fesm2015, processDts: true}\r\nCompiling @angular/common/http : fesm2015 as esm2015\r\nCompiling @angular/forms : fesm2015 as esm2015\r\nDebug: Successfully compiled @angular/common/http : fesm2015\r\nDebug: All 9 workers are currently busy and cannot take on more work.\r\nDebug: [Worker #3] Processing task: {entryPoint: @ngrx/effects, formatProperty: fesm2015, processDts: true}\r\nDebug: Successfully compiled @angular/platform-browser : fesm2015\r\nDebug: All 9 workers are currently busy and cannot take on more work.\r\nDebug: [Worker #5] Processing task: {entryPoint: @angular/platform-browser-dynamic, formatProperty: fesm2015, processDts: true}\r\nCompiling @angular/cdk/portal : fesm2015 as esm2015\r\nDebug: Successfully compiled @angular/forms : fesm2015\r\nDebug: All 9 workers are currently busy and cannot take on more work.\r\nDebug: [Worker #6] Processing task: {entryPoint: @angular/platform-browser/testing, formatProperty: fesm2015, processDts: true}\r\nDebug: Successfully compiled @angular/cdk/portal : fesm2015\r\nDebug: All 9 workers are currently busy and cannot take on more work.\r\nDebug: [Worker #2] Processing task: {entryPoint: @angular/platform-browser/animations, formatProperty: fesm2015, processDts: true}\r\nCompiling @angular/core : esm5 as esm5\r\nCompiling @angular/cdk/a11y : fesm2015 as esm2015\r\nDebug: Successfully compiled @angular/core : esm5\r\nDebug: All 9 workers are currently busy and cannot take on more work.\r\nDebug: [Worker #7] Processing task: {entryPoint: @angular/animations/browser/testing, formatProperty: fesm2015, processDts: true}\r\nDebug: Successfully compiled @angular/cdk/a11y : fesm2015\r\nDebug: All 9 workers are currently busy and cannot take on more work.\r\nDebug: [Worker #1] Processing task: {entryPoint: @angular/cdk/clipboard, formatProperty: fesm2015, processDts: true}\r\nCompiling @angular/common/testing : fesm2015 as esm2015\r\nDebug: Successfully compiled @angular/common/testing : fesm2015\r\nDebug: All 9 workers are currently busy and cannot take on more work.\r\nDebug: [Worker #8] Processing task: {entryPoint: @angular/cdk/layout, formatProperty: fesm2015, processDts: true}\r\nCompiling @angular/cdk/scrolling : fesm2015 as esm2015\r\nDebug: Successfully compiled @angular/cdk/scrolling : fesm2015\r\nDebug: All 9 workers are currently busy and cannot take on more work.\r\nDebug: [Worker #4] Processing task: {entryPoint: @angular/cdk/drag-drop, formatProperty: fesm2015, processDts: true}\r\nCompiling @ngrx/effects : fesm2015 as esm2015\r\nDebug: Successfully compiled @ngrx/effects : fesm2015\r\nDebug: All 9 workers are currently busy and cannot take on more work.\r\nDebug: [Worker #3] Processing task: {entryPoint: @angular/cdk/overlay, formatProperty: fesm2015, processDts: true}\r\nWarning: Worker #1 exited unexpectedly (code: null | signal: SIGKILL).\r\n Current assignment: {entryPoint: @angular/cdk/clipboard, formatProperty: fesm2015, processDts: true}\r\nDebug: Stopping 8 workers...\r\nDebug: Attempting to remove lock-file at /home/circleci/app/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__.\r\nDebug: PIDs match (192), so removing /home/circleci/app/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__.\r\nError: Process unexpectedly crashed, while processing format property fesm2015 for entry-point '/home/circleci/app/node_modules/@angular/cdk/clipboard'.\r\n at ClusterMaster.onWorkerExit (/home/circleci/app/node_modules/@angular/compiler-cli/ngcc/src/execution/cluster/master.js:153:23)\r\n at /home/circleci/app/node_modules/@angular/compiler-cli/ngcc/src/execution/cluster/master.js:51:101\r\n at ClusterMaster.\u003canonymous> (/home/circleci/app/node_modules/@angular/compiler-cli/ngcc/src/execution/cluster/master.js:246:57)\r\n at step (/home/circleci/app/node_modules/tslib/tslib.js:136:27)\r\n at Object.next (/home/circleci/app/node_modules/tslib/tslib.js:117:57)\r\n at /home/circleci/app/node_modules/tslib/tslib.js:110:75\r\n at new Promise (\u003canonymous>)\r\n at Object.__awaiter (/home/circleci/app/node_modules/tslib/tslib.js:106:16)\r\n at EventEmitter.\u003canonymous> (/home/circleci/app/node_modules/@angular/compiler-cli/ngcc/src/execution/cluster/master.js:240:32)\r\n at EventEmitter.emit (events.js:200:13)\r\nDebug: Attempting to remove lock-file at /home/circleci/app/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__.\r\nDebug: The lock-file at /home/circleci/app/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__ was already removed.\r\nCompiling @angular/platform-browser-dynamic : fesm2015 as esm2015\r\nDebug: Successfully compiled @angular/platform-browser-dynamic : fesm2015\r\nCompiling @angular/platform-browser/testing : fesm2015 as esm2015\r\nDebug: Attempting to remove lock-file at /home/circleci/app/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__.\r\nDebug: The lock-file at /home/circleci/app/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__ was already removed.\r\nDebug: Successfully compiled @angular/platform-browser/testing : fesm2015\r\nDebug: Attempting to remove lock-file at /home/circleci/app/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__.\r\nDebug: The lock-file at /home/circleci/app/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__ was already removed.\r\nCompiling @angular/router : fesm2015 as esm2015\r\nCompiling @angular/platform-browser/animations : fesm2015 as esm2015\r\nDebug: Successfully compiled @angular/platform-browser/animations : fesm2015\r\nDebug: Attempting to remove lock-file at /home/circleci/app/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__.\r\nDebug: The lock-file at /home/circleci/app/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__ was already removed.\r\nDebug: Successfully compiled @angular/router : fesm2015\r\nDebug: Attempting to remove lock-file at /home/circleci/app/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__.\r\nDebug: The lock-file at /home/circleci/app/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__ was already removed.\r\nCompiling @angular/animations/browser/testing : fesm2015 as esm2015\r\nDebug: Successfully compiled @angular/animations/browser/testing : fesm2015\r\nDebug: Attempting to remove lock-file at /home/circleci/app/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__.\r\nDebug: The lock-file at /home/circleci/app/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__ was already removed.\r\nCompiling @angular/cdk/layout : fesm2015 as esm2015\r\nDebug: Successfully compiled @angular/cdk/layout : fesm2015\r\nDebug: Attempting to remove lock-file at /home/circleci/app/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__.\r\nDebug: The lock-file at /home/circleci/app/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__ was already removed.\r\nCompiling @angular/cdk/drag-drop : fesm2015 as esm2015\r\nDebug: Successfully compiled @angular/cdk/drag-drop : fesm2015\r\nDebug: Attempting to remove lock-file at /home/circleci/app/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__.\r\nDebug: The lock-file at /home/circleci/app/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__ was already removed.\r\nCompiling @angular/cdk/overlay : fesm2015 as esm2015\r\nDebug: Successfully compiled @angular/cdk/overlay : fesm2015\r\nDebug: Attempting to remove lock-file at /home/circleci/app/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__.\r\nDebug: The lock-file at /home/circleci/app/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__ was already removed.\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! errno 1\r\nnpm ERR! test-ivy-app@0.0.0 ngcc: `ngcc --loglevel debug`\r\nnpm ERR! Exit status 1\r\nnpm ERR! \r\nnpm ERR! Failed at the test-ivy-app@0.0.0 ngcc script.\r\nnpm ERR! This is probably not a problem with npm. There is likely additional logging output above.\r\n\r\nnpm ERR! A complete log of this run can be found in:\r\nnpm ERR! /home/circleci/.npm/_logs/2020-03-27T15_41_27_725Z-debug.log\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! errno 1\r\nnpm ERR! test-ivy-app@0.0.0 postinstall: `npm run ngcc`\r\nnpm ERR! Exit status 1\r\nnpm ERR! \r\nnpm ERR! Failed at the test-ivy-app@0.0.0 postinstall script.\r\nnpm ERR! This is probably not a problem with npm. There is likely additional logging output above.\r\n\r\nnpm ERR! A complete log of this run can be found in:\r\nnpm ERR! /home/circleci/.npm/_logs/2020-03-27T15_41_27_795Z-debug.log\r\n\u003c/code>\u003c/pre>\r\n\r\n\r\n## 🌍 Your Environment\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.1.0\r\nNode: 12.3.1\r\nOS: linux x64\r\n\r\nAngular: 9.1.0\r\n... animations, cli, 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.901.0\r\n@angular-devkit/build-angular 0.901.0\r\n@angular-devkit/build-optimizer 0.901.0\r\n@angular-devkit/build-webpack 0.901.0\r\n@angular-devkit/core 9.1.0\r\n@angular-devkit/schematics 9.1.0\r\n@angular/cdk 9.2.0\r\n@ngtools/webpack 9.1.0\r\n@schematics/angular 9.1.0\r\n@schematics/update 0.901.0\r\nrxjs 6.5.3\r\ntypescript 3.8.3\r\nwebpack 4.42.0\r\n\u003c/code>\u003c/pre>\r\n\r\n**Anything else relevant?**\r\n1. If I ssh into the circle-ci container and run ngcc manually it completes successfully\r\n2. If I run ngcc locally it works\r\n3. When ngcc is kicked off from a post install step it fails, or even in circle ci with a stand-alone step it also fails\r\n","author":{"url":"https://github.com/paustint","@type":"Person","name":"paustint"},"datePublished":"2020-03-27T13:51:21Z","url":"https://github.com/angular/angular/issues/36278"}
| 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:bf5a0c48-397b-f50a-fb31-3e7f3e956f91 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E60A:2564F:1484914:1B0B244:6B0123C2 |
| html-safe-nonce | c20410c88613e5963d83e0aea508b1c890d09229fdfed5d6d16d50607c02aae0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNjBBOjI1NjRGOjE0ODQ5MTQ6MUIwQjI0NDo2QjAxMjNDMiIsInZpc2l0b3JfaWQiOiIzNzcyNjY1Njg3OTU3MzgyMDgyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | d575e360dd93fefad29ed403a609840446d742a6df5a8868d06fac0079891b0f |
| hovercard-subject-tag | issue:589148105 |
| 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/36278/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4566edd64a77b2ff943f247727e1e1c5cf255ef82221a855de032b9a7129ab6b/angular/angular/issues/36278 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4566edd64a77b2ff943f247727e1e1c5cf255ef82221a855de032b9a7129ab6b/angular/angular/issues/36278 |
| og:image:alt | 🐞 bug report Affected Package The issue is caused by package @angular/compiler-cli - specifically `ngcc` Is this a regression? Yes, the previous version in which this bug was not present was: 9.0 (... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | paustint |
| 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