Title: Angular 9.0.3 ngcc fails to process ng2-dragula · Issue #35709 · angular/angular · GitHub
Open Graph Title: Angular 9.0.3 ngcc fails to process ng2-dragula · Issue #35709 · angular/angular
X Title: Angular 9.0.3 ngcc fails to process ng2-dragula · Issue #35709 · angular/angular
Description: 🐞 bug report Affected Package @angular/compiler-cli Is this a regression? Yes it works properly with angular 9.0.2 Description ngcc build failed with ng2-dragula. 🔬 Minimal Reproduction Clone https://github.com/log2-hwan/ngcc-ng2-dragula...
Open Graph Description: 🐞 bug report Affected Package @angular/compiler-cli Is this a regression? Yes it works properly with angular 9.0.2 Description ngcc build failed with ng2-dragula. 🔬 Minimal Reproduction Clone https...
X Description: 🐞 bug report Affected Package @angular/compiler-cli Is this a regression? Yes it works properly with angular 9.0.2 Description ngcc build failed with ng2-dragula. 🔬 Minimal Reproduction Clone https...
Opengraph URL: https://github.com/angular/angular/issues/35709
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Angular 9.0.3 ngcc fails to process ng2-dragula","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@angular/compiler-cli\r\n\r\n\r\n### Is this a regression?\r\nYes it works properly with angular 9.0.2\r\n\r\n### Description\r\nngcc build failed with ng2-dragula.\r\n\r\n## 🔬 Minimal Reproduction\r\n1. Clone https://github.com/log2-hwan/ngcc-ng2-dragula-bug-demo\r\n2. `npm install`\r\n3. `npm run build ngcc-ng2-dragula-bug-demo`\r\n4. Build failed with error\r\n\r\n## 🔥 Exception or Error\r\n\u003cpre>\u003ccode>\r\n0% compiling\r\nCompiling @angular/core : es2015 as esm2015\r\n\r\nCompiling @angular/common : es2015 as esm2015\r\n\r\nCompiling @angular/platform-browser : es2015 as esm2015\r\n\r\nCompiling @angular/platform-browser-dynamic : es2015 as esm2015\r\n\r\nCompiling ng2-dragula : es2015 as esm2015\r\n\r\nERROR in Cannot read property 'push' of undefined\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\n \r\n\r\nAngular CLI: 9.0.3\r\nNode: 13.8.0\r\nOS: darwin x64\r\n\r\nAngular: 9.0.3\r\n... animations, cli, common, compiler, compiler-cli, core, forms\r\n... language-service, platform-browser, platform-browser-dynamic\r\n... router\r\nIvy Workspace: Yes\r\n\r\nPackage Version\r\n-----------------------------------------------------------\r\n@angular-devkit/architect 0.900.3\r\n@angular-devkit/build-angular 0.900.3\r\n@angular-devkit/build-optimizer 0.900.3\r\n@angular-devkit/build-webpack 0.900.3\r\n@angular-devkit/core 9.0.3\r\n@angular-devkit/schematics 9.0.3\r\n@ngtools/webpack 9.0.3\r\n@schematics/angular 9.0.3\r\n@schematics/update 0.900.3\r\nrxjs 6.5.4\r\ntypescript 3.7.5\r\nwebpack 4.41.2\r\n\u003c/code>\u003c/pre>\r\n\r\n**Anything else relevant?**\r\nI guess the error is caused by commit df816c9 which is related to sourcemap processing, so ng2-dragula's sourcemap may have some problems.\r\n","author":{"url":"https://github.com/log2-hwan","@type":"Person","name":"log2-hwan"},"datePublished":"2020-02-27T07:46:06Z","url":"https://github.com/angular/angular/issues/35709"}
| 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:fa472c42-0576-089d-f608-7c68639c9a65 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BDEC:3CBB3E:66E711:828E29:6B01174E |
| html-safe-nonce | 9e389e0a7aa2e9a9734b37f852e0ab78bcbd86020a5fe8cd265d90af99f815a2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCREVDOjNDQkIzRTo2NkU3MTE6ODI4RTI5OjZCMDExNzRFIiwidmlzaXRvcl9pZCI6IjI4MjkyNjU4OTA3Nzg4Nzk4MjMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | ae0c26a49f0d4cb829a827beb944ade766e8fc97c8277a6f90d14002305e72fd |
| hovercard-subject-tag | issue:571884420 |
| 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/35709/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0fd96dd9f924e335c5c350813cdfbe2e4d82cb5ffb44882e1f0a19174d3f7d04/angular/angular/issues/35709 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0fd96dd9f924e335c5c350813cdfbe2e4d82cb5ffb44882e1f0a19174d3f7d04/angular/angular/issues/35709 |
| og:image:alt | 🐞 bug report Affected Package @angular/compiler-cli Is this a regression? Yes it works properly with angular 9.0.2 Description ngcc build failed with ng2-dragula. 🔬 Minimal Reproduction Clone https... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | log2-hwan |
| 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 | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width