Title: App does not compile with Ivy - Angular 9 · Issue #32466 · angular/angular · GitHub
Open Graph Title: App does not compile with Ivy - Angular 9 · Issue #32466 · angular/angular
X Title: App does not compile with Ivy - Angular 9 · Issue #32466 · angular/angular
Description: 🐞 Bug report Command (mark with an x) serve Is this a regression? Production app builds with version 8, fails with version 9 and IVY enabled Description Everything in this ticket is about/with the experimental Ivy enabled. 🔬 Minimal Repr...
Open Graph Description: 🐞 Bug report Command (mark with an x) serve Is this a regression? Production app builds with version 8, fails with version 9 and IVY enabled Description Everything in this ticket is about/with the ...
X Description: 🐞 Bug report Command (mark with an x) serve Is this a regression? Production app builds with version 8, fails with version 9 and IVY enabled Description Everything in this ticket is about/with the ...
Opengraph URL: https://github.com/angular/angular/issues/32466
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"App does not compile with Ivy - Angular 9","articleBody":"# 🐞 Bug report\r\n\r\n### Command (mark with an `x`)\r\n- [x] serve\r\n\r\n### Is this a regression?\r\n\r\nProduction app builds with version 8, fails with version 9 and *IVY enabled*\r\n\r\n\r\n### Description\r\n\r\nEverything in this ticket is about/with the experimental *Ivy* enabled.\r\n\r\n\r\n## 🔬 Minimal Reproduction\r\n\r\nSorry unsure what the problem is. Part of the behavior is documented here:\r\nhttps://github.com/swimlane/ngx-datatable/issues/1699#issuecomment-520957242\r\n\r\nWith AngularCLI `8.3.0-next.1`\r\nThe error was:\r\n> ERROR in node_modules/@swimlane/ngx-datatable/release/datatable.module.d.ts(1,22): error TS-996002: Appears in the NgModule.imports of AdminModule, but could not be resolved to an NgModule class\r\n\r\nBut after updating, with AngularCLI `9.0.0-next.1` I get a different output I am unable to discern:\r\n\r\n## 🔥 Exception or Error\r\n\r\n\r\n\r\n```\r\nERROR in Error: Assertion error: failed to find directive with exportAs: ngForm\r\n at /Users/byakubchik/Desktop/WIP/angular8/node_modules/@angular/compiler/bundles/compiler.umd.js:28444:31\r\n at Array.forEach (\u003canonymous>)\r\n at DirectiveBinder.visitElementOrTemplate (/Users/byakubchik/Desktop/WIP/angular8/node_modules/@angular/compiler/bundles/compiler.umd.js:28427:29)\r\n at DirectiveBinder.visitElement (/Users/byakubchik/Desktop/WIP/angular8/node_modules/@angular/compiler/bundles/compiler.umd.js:28401:76)\r\n at Element.visit (/Users/byakubchik/Desktop/WIP/angular8/node_modules/@angular/compiler/bundles/compiler.umd.js:4132:71)\r\n at /Users/byakubchik/Desktop/WIP/angular8/node_modules/@angular/compiler/bundles/compiler.umd.js:28473:67\r\n at Array.forEach (\u003canonymous>)\r\n at DirectiveBinder.visitElementOrTemplate (/Users/byakubchik/Desktop/WIP/angular8/node_modules/@angular/compiler/bundles/compiler.umd.js:28473:27)\r\n at DirectiveBinder.visitElement (/Users/byakubchik/Desktop/WIP/angular8/node_modules/@angular/compiler/bundles/compiler.umd.js:28401:76)\r\n at Element.visit (/Users/byakubchik/Desktop/WIP/angular8/node_modules/@angular/compiler/bundles/compiler.umd.js:4132:71)\r\n at /Users/byakubchik/Desktop/WIP/angular8/node_modules/@angular/compiler/bundles/compiler.umd.js:28473:67\r\n at Array.forEach (\u003canonymous>)\r\n at DirectiveBinder.visitElementOrTemplate (/Users/byakubchik/Desktop/WIP/angular8/node_modules/@angular/compiler/bundles/compiler.umd.js:28473:27)\r\n at DirectiveBinder.visitTemplate (/Users/byakubchik/Desktop/WIP/angular8/node_modules/@angular/compiler/bundles/compiler.umd.js:28402:78)\r\n at Template.visit (/Users/byakubchik/Desktop/WIP/angular8/node_modules/@angular/compiler/bundles/compiler.umd.js:4150:72)\r\n at /Users/byakubchik/Desktop/WIP/angular8/node_modules/@angular/compiler/bundles/compiler.umd.js:28473:67\r\n```\r\n\r\n## 🌍 Your Environment\r\n\u003cpre>\u003ccode>\r\nAngular CLI: 9.0.0-next.2\r\nNode: 12.6.0\r\nOS: darwin x64\r\nAngular: 9.0.0-next.4\r\n... animations, common, compiler, compiler-cli, core, forms\r\n... platform-browser, platform-browser-dynamic, platform-server\r\n... router\r\n\r\nPackage Version\r\n-----------------------------------------------------------\r\n@angular-devkit/architect 0.900.0-next.2\r\n@angular-devkit/build-angular 0.900.0-next.2\r\n@angular-devkit/build-optimizer 0.900.0-next.2\r\n@angular-devkit/build-webpack 0.900.0-next.2\r\n@angular-devkit/core 9.0.0-next.2\r\n@angular-devkit/schematics 9.0.0-next.2\r\n@angular/cli 9.0.0-next.2\r\n@angular/http 7.2.15\r\n@ngtools/webpack 9.0.0-next.2\r\n@nguniversal/express-engine 7.1.1\r\n@schematics/angular 9.0.0-next.2\r\n@schematics/update 0.900.0-next.2\r\nrxjs 6.5.2\r\ntypescript 3.4.5\r\nwebpack 4.39.3\r\n\u003c/code>\u003c/pre>\r\n\r\n**Anything else relevant?**\r\nWill be happy to clarify more. \r\nThe original problem preventing the app from compiling was the inclusion of three libraries\r\n\r\n- ngx-datatable - https://github.com/swimlane/ngx-datatable/issues/1699#issuecomment-520957242\r\n- mydatepicker - https://www.npmjs.com/package/mydatepicker (no new versions since > 1 year ago)\r\n- ng2-charts - https://www.npmjs.com/package/ng2-charts (haven’t tried their latest version yet)\r\n\r\n🤷♂ \r\nTagging @StephenFluin for reference 🙇 ","author":{"url":"https://github.com/whyboris","@type":"Person","name":"whyboris"},"datePublished":"2019-09-03T18:54:07Z","url":"https://github.com/angular/angular/issues/32466"}
| 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:1b73cb4c-4f96-d81f-3de9-d7d181088ba0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C79E:213839:161E043:1C58096:6B012579 |
| html-safe-nonce | 91f726062c0ac03f9a2d00e0542d81056929d8addfe6014a61c9fa2efb6b7bd9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNzlFOjIxMzgzOToxNjFFMDQzOjFDNTgwOTY6NkIwMTI1NzkiLCJ2aXNpdG9yX2lkIjoiNzI1NDk4MDAyMjg1Nzk2Njk2OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 2cbe2351933bb4f01d3aa906aba7a2742da01b966711db9a10f57bdde18f7929 |
| hovercard-subject-tag | issue:488933696 |
| 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/32466/issue_layout |
| twitter:image | https://opengraph.githubassets.com/97cc293684ec192d567ed2c4dfec059d122b82a58ef68529c829ce791c98035b/angular/angular/issues/32466 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/97cc293684ec192d567ed2c4dfec059d122b82a58ef68529c829ce791c98035b/angular/angular/issues/32466 |
| og:image:alt | 🐞 Bug report Command (mark with an x) serve Is this a regression? Production app builds with version 8, fails with version 9 and IVY enabled Description Everything in this ticket is about/with the ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | whyboris |
| 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