Title: Ivy + angular2-text-mask: runtime error · Issue #31513 · angular/angular · GitHub
Open Graph Title: Ivy + angular2-text-mask: runtime error · Issue #31513 · angular/angular
X Title: Ivy + angular2-text-mask: runtime error · Issue #31513 · angular/angular
Description: 🐞 bug report Affected Package @angular@8.2.0-next.1 Is this a regression? No Description The combination of Ivy + angular2-text-mask gives me: 1 warning at compilation time 1 error at run time It prevents the application from running at ...
Open Graph Description: 🐞 bug report Affected Package @angular@8.2.0-next.1 Is this a regression? No Description The combination of Ivy + angular2-text-mask gives me: 1 warning at compilation time 1 error at run time It p...
X Description: 🐞 bug report Affected Package @angular@8.2.0-next.1 Is this a regression? No Description The combination of Ivy + angular2-text-mask gives me: 1 warning at compilation time 1 error at run time It p...
Opengraph URL: https://github.com/angular/angular/issues/31513
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Ivy + angular2-text-mask: runtime error","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@8.2.0-next.1\r\n### Is this a regression?\r\n\r\nNo\r\n\r\n### Description\r\n\r\nThe combination of Ivy + angular2-text-mask gives me:\r\n - 1 warning at compilation time\r\n - 1 error at run time \r\n\r\nIt prevents the application from running at all.\r\n\r\n## 🔬 Minimal Reproduction\r\n\r\nJust try to use Ivy + angular2-text-mask\r\n\r\n## 🔥 Exception or Error\r\n\r\n### Compilation time warning:\r\n\u003cpre>\u003ccode>\r\nWARNING in Entry point 'angular2-text-mask' contains deep imports into 'E:/Users/Juliano/Documents/Projetos/sa/sa-ui/saWorkspace/node_modules/text-mask-core/dist/textMaskCore'. This is probably not a problem, but may cause the compilation of entry points to be out of order.\r\n\u003c/code>\u003c/pre>\r\n\r\n### Runtime error:\r\n\u003cpre>\u003ccode>\r\nERROR Error: Uncaught (in promise): ReferenceError: Directive is not defined\r\nReferenceError: Directive is not defined\r\n at angular2TextMask.js:115\r\n at Object.../../../node_modules/angular2-text-mask/__ivy_ngcc__/dist/angular2TextMask.js (angular2TextMask.js:137)\r\n at __webpack_require__ (bootstrap:84)\r\n at Module.../../../libs/shared/ui/components/contato/src/lib/shared-ui-components-contato.module.ts (shared-ui-components-contato.module.ts:1)\r\n at __webpack_require__ (bootstrap:84)\r\n at Module.../../../libs/shared/ui/components/contato/src/index.ts (index.ts:1)\r\n at __webpack_require__ (bootstrap:84)\r\n at Module.../../../libs/issue-tracker/shared/ui/components/atualizacao-de-dados/src/lib/issue-tracker-shared-ui-components-atualizacao-de-dados.module.ts (issue-tracker-shared…e-dados.module.ts:1)\r\n at __webpack_require__ (bootstrap:84)\r\n at Module.../../../libs/issue-tracker/shared/ui/components/atualizacao-de-dados/src/index.ts (index.ts:1)\r\n at resolvePromise (zone-evergreen.js:797)\r\n at resolvePromise (zone-evergreen.js:754)\r\n at zone-evergreen.js:858\r\n at ZoneDelegate.invokeTask (zone-evergreen.js:391)\r\n at Object.onInvokeTask (core.js:34921)\r\n at ZoneDelegate.invokeTask (zone-evergreen.js:390)\r\n at Zone.runTask (zone-evergreen.js:168)\r\n at drainMicroTaskQueue (zone-evergreen.js:559)\r\n\r\n\u003c/code>\u003c/pre>\r\n\r\nThe line referred in the error message is this one:\r\n\r\n\r\n\r\n\r\n## 🌍 Your Environment\r\n\r\n**Angular Version:**\r\n\u003cpre>\u003ccode>\r\nAngular CLI: 8.2.0-next.0\r\nNode: 12.3.1\r\nOS: win32 x64\r\nAngular: 8.2.0-next.1\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.800.1\r\n@angular-devkit/build-angular 0.802.0-next.0\r\n@angular-devkit/build-ng-packagr 0.802.0-next.0\r\n@angular-devkit/build-optimizer 0.802.0-next.0\r\n@angular-devkit/build-webpack 0.802.0-next.0\r\n@angular-devkit/core 8.0.1\r\n@angular-devkit/schematics 8.0.1\r\n@angular/cdk 8.0.2\r\n@angular/cli 8.2.0-next.0\r\n@angular/material 8.0.2\r\n@ngtools/json-schema 1.1.0\r\n@ngtools/webpack 8.2.0-next.0\r\n@schematics/angular 8.0.1\r\n@schematics/update 0.802.0-next.0\r\nng-packagr 5.3.0\r\nrxjs 6.5.2\r\ntypescript 3.4.5\r\nwebpack 4.35.3\r\n\r\n\u003c/code>\u003c/pre>\r\n\r\n**Anything else relevant?**\r\nNo\r\n","author":{"url":"https://github.com/julianobrasil","@type":"Person","name":"julianobrasil"},"datePublished":"2019-07-11T12:51:50Z","url":"https://github.com/angular/angular/issues/31513"}
| 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:9874a33a-ef99-4a98-911e-dbfbc3497f29 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D052:4279A:2344401:2F764F1:6B01A657 |
| html-safe-nonce | ac762fb068ce0094f3721f2759854e52bc0f54a3c7c638dedc6c5006b709e28b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMDUyOjQyNzlBOjIzNDQ0MDE6MkY3NjRGMTo2QjAxQTY1NyIsInZpc2l0b3JfaWQiOiIyODM4NzE3MjM2ODk2NzA0MDg3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 6e925f87209f3a48854488cbe63df2681b99770810152ce2b0c2a823adc90f9c |
| hovercard-subject-tag | issue:466873798 |
| 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/31513/issue_layout |
| twitter:image | https://opengraph.githubassets.com/21abfab1d6a62d6a4fd61d855e0310896308a74b37596940d6cdc9461a25b47b/angular/angular/issues/31513 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/21abfab1d6a62d6a4fd61d855e0310896308a74b37596940d6cdc9461a25b47b/angular/angular/issues/31513 |
| og:image:alt | 🐞 bug report Affected Package @angular@8.2.0-next.1 Is this a regression? No Description The combination of Ivy + angular2-text-mask gives me: 1 warning at compilation time 1 error at run time It p... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | julianobrasil |
| 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