Title: Not all modules from @nativescript/angular are exported to nativescript-angular · Issue #2059 · NativeScript/nativescript-angular · GitHub
Open Graph Title: Not all modules from @nativescript/angular are exported to nativescript-angular · Issue #2059 · NativeScript/nativescript-angular
X Title: Not all modules from @nativescript/angular are exported to nativescript-angular · Issue #2059 · NativeScript/nativescript-angular
Description: Environment Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project): CLI: 6.2.0 Cross-platform modules: 6.2.0 Android...
Open Graph Description: Environment Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project): CLI: 6.2...
X Description: Environment Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project): CLI: 6.2...
Opengraph URL: https://github.com/NativeScript/nativescript-angular/issues/2059
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Not all modules from @nativescript/angular are exported to nativescript-angular","articleBody":"**Environment**\r\nProvide version numbers for the following components (information can be retrieved by running `tns info` in your project folder or by inspecting the `package.json` of the project):\r\n - CLI: 6.2.0\r\n - Cross-platform modules: 6.2.0\r\n - Android Runtime: 6.2.0\r\n - iOS Runtime: 6.2.0\r\n - Plugin(s):\r\n - NativeScript-Angular: 8.20.1-rc-2019-11-08-175723-01\r\n - Angular: 8.2.0\r\n \r\n**Describe the bug**\r\n\u003c!-- A clear and concise description of what the bug is. Please, explain whether it's a build time error or a runtime error. More detailed logs can be easily obtained by following the instructions in this guide: https://docs.nativescript.org/get-support#how-to-obtain-diagnostic-reports. --\u003e\r\nModules like `@nativescript/angular/app-host-view`, `@nativescript/angular/common/detached-loader`, and `@nativescript/angular/common/utils` are not exported to `nativescript-angular`, this causes backwards incompatibility with some plugins.\r\n\r\n**To Reproduce**\r\n\u003c!-- Add commands used or steps taken to reproduce the behaviour. --\u003e\r\n```js\r\nrequire(\"nativescript-angular/common/utils\");\r\n```\r\nCauses the following error:\r\n```log\r\nModule not found: Error: Can't resolve 'nativescript-angular/common/utils'\r\n```\r\n\r\n**Expected behavior**\r\n\r\n`nativescript-angular` should export all modules from `@nativescript/angular` to keep backward compatibility.\r\n\r\n**Sample project**\r\n\u003c!-- If possible, provide a link from the [Playground](https://play.nativescript.org) with reproduction of the problem. If not, consider attaching a sample project or link to a repository with such project. --\u003e\r\n\r\n**Additional context**\r\n\u003c!-- Add any other context about the problem here. --\u003e\r\n","author":{"url":"https://github.com/mukaschultze","@type":"Person","name":"mukaschultze"},"datePublished":"2019-11-08T17:32:16.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/2059/nativescript-angular/issues/2059"}
| 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:3a5d1af7-be67-b012-7267-497cd03638ff |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A1BE:1A3A28:35FE172:460EC26:6974B09F |
| html-safe-nonce | 28ea65109b7c9333b6dee8b44ecce857676fb3899f00a0df7919e50009bf994e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMUJFOjFBM0EyODozNUZFMTcyOjQ2MEVDMjY6Njk3NEIwOUYiLCJ2aXNpdG9yX2lkIjoiNDIzNjUyNTE0MDkwMTY3MTA3MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 5386ef22cd46e2ba49f8641fd1ac03deffd49e8f07249e448139d3906e6083f4 |
| hovercard-subject-tag | issue:520141105 |
| 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/NativeScript/nativescript-angular/2059/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f4ac3c3abfcfde7d96cf9f5fa3f52220f594c7e80b8b6887ed94578bebd2ab67/NativeScript/nativescript-angular/issues/2059 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f4ac3c3abfcfde7d96cf9f5fa3f52220f594c7e80b8b6887ed94578bebd2ab67/NativeScript/nativescript-angular/issues/2059 |
| og:image:alt | Environment Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project): CLI: 6.2... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mukaschultze |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4a4bf5f4e28041a9d2e5c107d7d20b78b4294ba261cab243b28167c16a623a1f |
| turbo-cache-control | no-preview |
| go-import | github.com/NativeScript/nativescript-angular git https://github.com/NativeScript/nativescript-angular.git |
| octolytics-dimension-user_id | 7392261 |
| octolytics-dimension-user_login | NativeScript |
| octolytics-dimension-repository_id | 35951404 |
| octolytics-dimension-repository_nwo | NativeScript/nativescript-angular |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 35951404 |
| octolytics-dimension-repository_network_root_nwo | NativeScript/nativescript-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 | 488b30e96dfd057fbbe44c6665ccbc030b729dde |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width