Title: Cannot read property 'ngMetadataName' of undefined with @angular-devkit/build-angular 0.800.4 · Issue #14888 · angular/angular-cli · GitHub
Open Graph Title: Cannot read property 'ngMetadataName' of undefined with @angular-devkit/build-angular 0.800.4 · Issue #14888 · angular/angular-cli
X Title: Cannot read property 'ngMetadataName' of undefined with @angular-devkit/build-angular 0.800.4 · Issue #14888 · angular/angular-cli
Description: 🐞 Bug report Command (mark with an x) - [ ] new - [ ] build - [ ] serve - [x] 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 - [ ] build - [ ] serve - [x] test - [ ] e2e - [ ] generate - [ ] add - [ ] update - [ ] lint - [ ] xi18n - [ ] run - [ ] config - [ ] help - [ ] ver...
X Description: 🐞 Bug report Command (mark with an x) - [ ] new - [ ] build - [ ] serve - [x] test - [ ] e2e - [ ] generate - [ ] add - [ ] update - [ ] lint - [ ] xi18n - [ ] run - [ ] config - [ ] help - [ ] ver...
Opengraph URL: https://github.com/angular/angular-cli/issues/14888
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Cannot read property 'ngMetadataName' of undefined with @angular-devkit/build-angular 0.800.4","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🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅--\u003e\r\n\r\n\r\n# 🐞 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? --\u003e\r\n\u003c!-- ✍️edit: --\u003e\r\n```\r\n- [ ] new\r\n- [ ] build\r\n- [ ] serve\r\n- [x] 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: \r\n`@angular-devkit/build-angular 0.800.3`\r\n\r\n### Description\r\n\r\nwe met an error when update our lib [ng-zorro-antd](https://github.com/NG-ZORRO/ng-zorro-antd) to the latest angular version.\r\n\r\nAll our ci goes wrong today, and found @angular-devkit update to 0.800.4, and everthing is ok after locking it to `0.800.3`\r\n\r\nTypeError: Cannot read property 'ngMetadataName' of undefined\r\n\r\n## 🔬 Minimal Reproduction\r\n\r\n* a success CI 19 hours ago(before 0.800.4 released): https://travis-ci.org/NG-ZORRO/ng-zorro-antd/jobs/549747080\r\n* a failed CI 5 hours ago(after 0.800.4 released): https://travis-ci.org/NG-ZORRO/ng-zorro-antd/jobs/550062443 (no code change between these two CI)\r\n* a sucess CI after seting `@angular-devkit/build-angular` to `0.800.3` https://travis-ci.org/NG-ZORRO/ng-zorro-antd/jobs/550171528\r\n\r\n## 🔥 Exception or Error\r\n\u003cpre\u003e\u003ccode\u003e\r\nTypeError: Cannot read property 'ngMetadataName' of undefined\r\n\t at injectArgs (http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/core/fesm5/core.js:573:1)\r\n\t at http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/core/fesm5/core.js:1091:72\r\n\t at _callFactory (http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/core/fesm5/core.js:18522:1)\r\n\t at _createProviderInstance (http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/core/fesm5/core.js:18480:1)\r\n\t at resolveNgModuleDep (http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/core/fesm5/core.js:18455:1)\r\n\t at NgModuleRef_.push.../node_modules/@angular/core/fesm5/core.js.NgModuleRef_.get (http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/core/fesm5/core.js:19149:1)\r\n\t at resolveDep (http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/core/fesm5/core.js:19520:1)\r\n\t at createClass (http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/core/fesm5/core.js:19400:1)\r\n\t at createDirectiveInstance (http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/core/fesm5/core.js:19271:1)\r\n\t at createViewNodes (http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/core/fesm5/core.js:27489:1)\r\n\u003c/code\u003e\u003c/pre\u003e\r\n\r\n\r\n\r\n","author":{"url":"https://github.com/vthinkxie","@type":"Person","name":"vthinkxie"},"datePublished":"2019-06-25T08:55:41.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":30},"url":"https://github.com/14888/angular-cli/issues/14888"}
| 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:ed4bb029-a9d2-108b-e422-dbc1a2c6ab93 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AC3E:22C843:57C8EC:75C331:6A617973 |
| html-safe-nonce | 7dd767ffb2fb86d442ce37d77c07a3eb6b28364d4cc63cefc817ea8b1ddd1d58 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQzNFOjIyQzg0Mzo1N0M4RUM6NzVDMzMxOjZBNjE3OTczIiwidmlzaXRvcl9pZCI6IjE0ODcwNTMzODM0NDY2NTczOTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 061e5336baa0c38181b68925b6a179ca67645db8fa66d1b3f892986a19349d3e |
| hovercard-subject-tag | issue:460296313 |
| 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/14888/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c602b1afb59c18f3ccf73463362190b987a343475b59a3e37d491479deeb486d/angular/angular-cli/issues/14888 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c602b1afb59c18f3ccf73463362190b987a343475b59a3e37d491479deeb486d/angular/angular-cli/issues/14888 |
| og:image:alt | 🐞 Bug report Command (mark with an x) - [ ] new - [ ] build - [ ] serve - [x] 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 | vthinkxie |
| hostname | github.com |
| expected-hostname | github.com |
| None | b05bb6314e7e93021a7b7dab54a85cbe48d821938e762c1dff815efd60699622 |
| 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 | 94389bfdcd393b0a5a274aee94e8a9739d063fe5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width