Title: Can't resolve all parameters for ApplicationModule · Issue #1540 · NativeScript/nativescript-angular · GitHub
Open Graph Title: Can't resolve all parameters for ApplicationModule · Issue #1540 · NativeScript/nativescript-angular
X Title: Can't resolve all parameters for ApplicationModule · Issue #1540 · NativeScript/nativescript-angular
Description: Make sure to check the existing issues in this repository None found. If there is no issue for your problem, tell us about it Which platform(s) does your issue occur on? Both iOS12 / Android 8.1.0 emulator Please, provide the following v...
Open Graph Description: Make sure to check the existing issues in this repository None found. If there is no issue for your problem, tell us about it Which platform(s) does your issue occur on? Both iOS12 / Android 8.1.0 ...
X Description: Make sure to check the existing issues in this repository None found. If there is no issue for your problem, tell us about it Which platform(s) does your issue occur on? Both iOS12 / Android 8.1.0 ...
Opengraph URL: https://github.com/NativeScript/nativescript-angular/issues/1540
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Can't resolve all parameters for ApplicationModule","articleBody":"### Make sure to check the existing issues in this repository \r\n\r\nNone found.\r\n\r\n### If there is no issue for your problem, tell us about it\r\n\r\n\r\n### Which platform(s) does your issue occur on?\r\n- Both \r\n- iOS12 / Android 8.1.0\r\n- emulator\r\n\r\n### Please, provide the following version numbers that your issue occurs with:\r\n\r\n- CLI: $ tns --version -> 4.2.4\r\n- Cross-platform modules: \"tns-core-modules@4.2.1\",\r\n- Runtime(s): \"tns-ios\": {\r\n \"version\": \"4.2.0\"\r\n },\r\n \"tns-android\": {\r\n \"version\": \"4.2.0\"\r\n }\r\n\r\n### Please, tell us how to recreate the issue in as much detail as possible. \r\n\r\nIssue shows up, if I update @angular/* to >6.1.8. No error with 6.1.0 dependencies. \r\n\r\nan npm update installed newer @angular packages, due to having ~6.1.0 in package.json (as it is set by cli). With that in place I got:\r\n\r\n```\r\nSystem.err: java.lang.RuntimeException: Unable to start activity ComponentInfo{org.nativescript.charenjiapp/com.tns.NativeScriptActivity}: com.tns.NativeScriptException:\r\nSystem.err: Calling js method onCreate failed\r\nSystem.err:\r\nSystem.err: Error: Can't resolve all parameters for ApplicationModule: (?).\r\nSystem.err: File: \"file:///data/data/org.nativescript.charenjiapp/files/app/tns_modules/@angular/compiler/bundles/compiler.umd.js, line: 11175, column: 16\r\n```\r\n\r\nI first checked for missing DI imports and circular references, but everything was / is fine here, and worked without any changes before. A downgrade of the @angular packages solved it again.\r\n\r\n### full stacktrace\r\n\r\n```\r\nActivityManager: Launch timeout has expired, giving up wake lock!\r\n10-04 09:23:59.174 7551 7551 E AndroidRuntime: at com.tns.Runtime.callJSMethodNative(Native Method)\r\n10-04 09:23:59.174 7551 7551 E AndroidRuntime: at com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:1116)\r\n10-04 09:23:59.174 7551 7551 E AndroidRuntime: at com.tns.Runtime.callJSMethodImpl(Runtime.java:996)\r\n10-04 09:23:59.174 7551 7551 E AndroidRuntime: at com.tns.Runtime.callJSMethod(Runtime.java:983)\r\n10-04 09:23:59.174 7551 7551 E AndroidRuntime: at com.tns.Runtime.callJSMethod(Runtime.java:967)\r\n10-04 09:23:59.174 7551 7551 E AndroidRuntime: at com.tns.Runtime.callJSMethod(Runtime.java:959)\r\nSystem.err: java.lang.RuntimeException: Unable to start activity ComponentInfo{org.nativescript.charenjiapp/com.tns.NativeScriptActivity}: com.tns.NativeScriptException:\r\nSystem.err: Calling js method onCreate failed\r\nSystem.err:\r\nSystem.err: Error: Can't resolve all parameters for ApplicationModule: (?).\r\nSystem.err: File: \"file:///data/data/org.nativescript.charenjiapp/files/app/tns_modules/@angular/compiler/bundles/compiler.umd.js, line: 11175, column: 16\r\nSystem.err:\r\nSystem.err: StackTrace:\r\nSystem.err: Frame: function:'ZoneAwareError', file:'file:///data/data/org.nativescript.charenjiapp/files/app/tns_modules/nativescript-angular/zone-js/dist/zone-nativescript.js', line: 1298, column: 33\r\nSystem.err: Frame: function:'syntaxError', file:'file:///data/data/org.nativescript.charenjiapp/files/app/tns_modules/@angular/compiler/bundles/compiler.umd.js', line: 1098, column: 21\r\nSystem.err: Frame: function:'CompileMetadataResolver._getDependenciesMetadata', file:'file:///data/data/org.nativescript.charenjiapp/files/app/tns_modules/@angular/compiler/bundles/compiler.umd.js', line: 10987, column: 39\r\nSystem.err: Frame: function:'CompileMetadataResolver._getTypeMetadata', file:'file:///data/data/org.nativescript.charenjiapp/files/app/tns_modules/@angular/compiler/bundles/compiler.umd.js', line: 10880, column: 30\r\nSystem.err: Frame: function:'CompileMetadataResolver.getNgModuleMetadata', file:'file:///data/data/org.nativescript.charenjiapp/files/app/tns_modules/@angular/compiler/bundles/compiler.umd.js', line: 10748, column: 28\r\nSystem.err: Frame: function:'CompileMetadataResolver.getNgModuleSummary', file:'file:///data/data/org.nativescript.charenjiapp/files/app/tns_modules/@angular/compiler/bundles/compiler.umd.js', line: 10558, column: 39\r\nSystem.err: Frame: function:'', file:'file:///data/data/org.nativescript.charenjiapp/files/app/tns_modules/@angular/compiler/bundles/compiler.umd.js', line: 10645, column: 59\r\nSystem.err: Frame: function:'CompileMetadataResolver.getNgModuleMetadata', file:'file:///data/data/org.nativescript.charenjiapp/files/app/tns_modules/@angular/compiler/bundles/compiler.umd.js', line: 10623, column: 53\r\nSystem.err: Frame: function:'CompileMetadataResolver.getNgModuleSummary', file:'file:///data/data/org.nativescript.charenjiapp/files/app/tns_modules/@angular/compiler/bundles/compiler.umd.js', line: 10558, column: 39\r\nSystem.err: Frame: function:'', file:'file:///data/data/org.nativescript.charenjiapp/files/app/tns_modules/@angular/compiler/bundles/compiler.umd.js', line: 10645, column: 59\r\nSystem.err: Frame: function:'CompileMetadataResolver.getNgModuleMetadata', file:'file:///data/data/org.nativescript.charenjiapp/files/app/tns_modules/@angular/compiler/bundles/compiler.umd.js', line: 10623, column: 53\r\nSystem.err: Frame: function:'JitCompiler._loadModules', file:'file:///data/data/org.nativescript.charenjiapp/files/app/tns_modules/@angular/compiler/bundles/compiler.umd.js', line: 23932, column: 55\r\nSystem.err: Frame: function:'JitCompiler._compileModuleAndComponents', file:'file:///data/data/org.nativescript.charenjiapp/files/app/tns_modules/@angular/compiler/bundles/compiler.umd.js', line: 23913, column: 40\r\nSystem.err: Frame: function:'JitCompiler.compileModuleAsync', file:'file:///data/data/org.nativescript.charenjiapp/files/app/tns_modules/@angular/compiler/bundles/compiler.umd.js', line: 23873, column: 41\r\nSystem.err: Frame: function:'CompilerImpl.compileModuleAsync', file:'file:///data/data/org.nativescript.charenjiapp/files/app/tns_modules/@angular/platform-browser-dynamic/bundles/platform-browser-dynamic.umd.js', line: 202, column: 35\r\nSystem.err: Frame: function:'PlatformRef.bootstrapModule', file:'file:///data/data/org.nativescript.charenjiapp/files/app/tns_modules/@angular/core/bundles/core.umd.js', line: 4417, column: 29\r\nSystem.err: Frame: function:'_bootstrapper', file:'file:///data/data/org.nativescript.charenjiapp/files/app/tns_modules/nativescript-angular/platform-common.js', line: 75, column: 66\r\nSystem.err: Frame: function:'', file:'file:///data/data/org.nativescript.charenjiapp/files/app/tns_modules/nativescript-angular/platform-common.js', line: 128, column: 19\r\nSystem.err: Frame: function:'Observable.notify', file:'file:///data/data/org.nativescript.charenjiapp/files/app/tns_modules/tns-core-modules/data/observable/observable.js', line: 110, column: 23\r\nSystem.err: Frame: function:'notifyLaunch', file:'file:///data/data/org.nativescript.charenjiapp/files/app/tns_modules/tns-core-modules/ui/frame/frame.js', line: 884, column: 17\r\nSystem.err: Frame: function:'ActivityCallbacksImplementation.setActivityContent', file:'file:///data/data/org.nativescript.charenjiapp/files/app/tns_modules/tns-core-modules/ui/frame/frame.js', line: 817, column: 28\r\nSystem.err: Frame: function:'ActivityCallbacksImplementation.onCreate', file:'file:///data/data/org.nativescript.charenjiapp/files/app/tns_modules/tns-core-modules/ui/frame/frame.js', line: 691, column: 14\r\nSystem.err: Frame: function:'NativeScriptActivity.onCreate', file:'file:///data/data/org.nativescript.charenjiapp/files/app/tns_modules/tns-core-modules/ui/frame/activity.js', line: 20, column: 25\r\nSystem.err:\r\nSystem.err: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2778)\r\nSystem.err: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2856)\r\nSystem.err: at android.app.ActivityThread.-wrap11(Unknown Source:0)\r\nSystem.err: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1589)\r\nSystem.err: at android.os.Handler.dispatchMessage(Handler.java:106)\r\nSystem.err: at android.os.Looper.loop(Looper.java:164)\r\nSystem.err: at android.app.ActivityThread.main(ActivityThread.java:6494)\r\nSystem.err: at java.lang.reflect.Method.invoke(Native Method)\r\nSystem.err: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)\r\nSystem.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)\r\nSystem.err: Caused by: com.tns.NativeScriptException:\r\nSystem.err: Calling js method onCreate failed\r\nSystem.err:\r\nSystem.err: Error: Can't resolve all parameters for ApplicationModule: (?).\r\nSystem.err: File: \"file:///data/data/org.nativescript.charenjiapp/files/app/tns_modules/@angular/compiler/bundles/compiler.umd.js, line: 11175, column: 16\r\nSystem.err:\r\nSystem.err: StackTrace:\r\nSystem.err: Frame: function:'ZoneAwareError', file:'file:///data/data/org.nativescript.charenjiapp/files/app/tns_modules/nativescript-angular/zone-js/dist/zone-nativescript.js', line: 1298, column: 33\r\nSystem.err: Frame: function:'syntaxError', file:'file:///data/data/org.nativescript.charenjiapp/files/app/tns_modules/@angular/compiler/bundles/compiler.umd.js', line: 1098, column: 21\r\nSystem.err: Frame: function:'CompileMetadataResolver._getDependenciesMetadata', file:'file:///data/data/org.nativescript.charenjiapp/files/app/tns_modules/@angular/compiler/bundles/compiler.umd.js', line: 10987, column: 39\r\nSystem.err: Frame: function:'CompileMetadataResolver._getTypeMetadata', file:'file:///data/data/org.nativescript.charenjiapp/files/app/tns_modules/@angular/compiler/bundles/compiler.umd.js', line: 10880, column: 30\r\nSystem.err: Frame: function:'CompileMetadataResolver.getNgModuleMetadata', file:'file:///data/data/org.nativescript.charenjiapp/files/app/tns_modules/@angular/compiler/bundles/compiler.umd.js', line: 10748, column: 28\r\nSystem.err: Frame: function:'CompileMetadataResolver.getNgModuleSummary', file:'file:///data/data/org.nativescript.charenjiapp/files/app/tns_modules/@angular/compiler/bundles/compiler.umd.js', line: 10558, column: 39\r\nSystem.err: Frame: function:'', file:'file:///data/data/org.nativescript.charenjiapp/files/app/tns_modules/@angular/compiler/bundles/compiler.umd.js', line: 10645, column: 59\r\nSystem.err: Frame: function:'CompileMetadataResolver.getNgModuleMetadata', file:'file:///data/data/org.nativescript.charenjiapp/files/app/tns_modules/@angular/compiler/bundles/compiler.umd.js', line: 10623, column: 53\r\nSystem.err: Frame: function:'CompileMetadataResolver.getNgModuleSummary', file:'file:///data/data/org.nativescript.charenjiapp/files/app/tns_modules/@angular/compiler/bundles/compiler.umd.js', line: 10558, column: 39\r\nSystem.err: Frame: function:'', file:'file:///data/data/org.nativescript.charenjiapp/files/app/tns_modules/@angular/compiler/bundles/compiler.umd.js', line: 10645, column: 59\r\nSystem.err: Frame: function:'CompileMetadataResolver.getNgModuleMetadata', file:'file:///data/data/org.nativescript.charenjiapp/files/app/tns_modules/@angular/compiler/bundles/compiler.umd.js', line: 10623, column: 53\r\nSystem.err: Frame: function:'JitCompiler._loadModules', file:'file:///data/data/org.nativescript.charenjiapp/files/app/tns_modules/@angular/compiler/bundles/compiler.umd.js', line: 23932, column: 55\r\nSystem.err: Frame: function:'JitCompiler._compileModuleAndComponents', file:'file:///data/data/org.nativescript.charenjiapp/files/app/tns_modules/@angular/compiler/bundles/compiler.umd.js', line: 23913, column: 40\r\nSystem.err: Frame: function:'JitCompiler.compileModuleAsync', file:'file:///data/data/org.nativescript.charenjiapp/files/app/tns_modules/@angular/compiler/bundles/compiler.umd.js', line: 23873, column: 41\r\nSystem.err: Frame: function:'CompilerImpl.compileModuleAsync', file:'file:///data/data/org.nativescript.charenjiapp/files/app/tns_modules/@angular/platform-browser-dynamic/bundles/platform-browser-dynamic.umd.js', line: 202, column: 35\r\nSystem.err: Frame: function:'PlatformRef.bootstrapModule', file:'file:///data/data/org.nativescript.charenjiapp/files/app/tns_modules/@angular/core/bundles/core.umd.js', line: 4417, column: 29\r\nSystem.err: Frame: function:'_bootstrapper', file:'file:///data/data/org.nativescript.charenjiapp/files/app/tns_modules/nativescript-angular/platform-common.js', line: 75, column: 66\r\nSystem.err: Frame: function:'', file:'file:///data/data/org.nativescript.charenjiapp/files/app/tns_modules/nativescript-angular/platform-common.js', line: 128, column: 19\r\nSystem.err: Frame: function:'Observable.notify', file:'file:///data/data/org.nativescript.charenjiapp/files/app/tns_modules/tns-core-modules/data/observable/observable.js', line: 110, column: 23\r\nSystem.err: Frame: function:'notifyLaunch', file:'file:///data/data/org.nativescript.charenjiapp/files/app/tns_modules/tns-core-modules/ui/frame/frame.js', line: 884, column: 17\r\nSystem.err: Frame: function:'ActivityCallbacksImplementation.setActivityContent', file:'file:///data/data/org.nativescript.charenjiapp/files/app/tns_modules/tns-core-modules/ui/frame/frame.js', line: 817, column: 28\r\nSystem.err: Frame: function:'ActivityCallbacksImplementation.onCreate', file:'file:///data/data/org.nativescript.charenjiapp/files/app/tns_modules/tns-core-modules/ui/frame/frame.js', line: 691, column: 14\r\nSystem.err: Frame: function:'NativeScriptActivity.onCreate', file:'file:///data/data/org.nativescript.charenjiapp/files/app/tns_modules/tns-core-modules/ui/frame/activity.js', line: 20, column: 25\r\nSystem.err:\r\nSystem.err: at com.tns.Runtime.callJSMethodNative(Native Method)\r\nSystem.err: at com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:1116)\r\nSystem.err: at com.tns.Runtime.callJSMethodImpl(Runtime.java:996)\r\nSystem.err: at com.tns.Runtime.callJSMethod(Runtime.java:983)\r\nSystem.err: at com.tns.Runtime.callJSMethod(Runtime.java:967)\r\nSystem.err: at com.tns.Runtime.callJSMethod(Runtime.java:959)\r\nSystem.err: at com.tns.NativeScriptActivity.onCreate(NativeScriptActivity.java:18)\r\nSystem.err: at android.app.Activity.performCreate(Activity.java:7009)\r\nSystem.err: at android.app.Activity.performCreate(Activity.java:7000)\r\nSystem.err: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1214)\r\nSystem.err: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2731)\r\nSystem.err: ... 9 more\r\n```\r\n\r\nI choose nativescript-angular as issue target, as it seems there is some incompatibility between nativescript and angular in that case. If I was wrong, please excuse me. \r\n\r\nThx.\r\n","author":{"url":"https://github.com/noomieware","@type":"Person","name":"noomieware"},"datePublished":"2018-10-04T10:54:50Z","url":"https://github.com/NativeScript/nativescript-angular/issues/1540"}
| 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:452de2ed-2f16-2c42-669d-8d75d433a8dd |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DF6E:120A77:26CDF53:34F390B:6B004208 |
| html-safe-nonce | fde4e010c544e6c726cd36a057283c28b6ee10974165fd2efa4bb97f45a65b18 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERjZFOjEyMEE3NzoyNkNERjUzOjM0RjM5MEI6NkIwMDQyMDgiLCJ2aXNpdG9yX2lkIjoiMTc5NzA4MTU1MTg1OTYzMDYwMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 4f8569759e2146aa2e8494eb99193d561f31df0b24144c60213d12807077f968 |
| hovercard-subject-tag | issue:366732723 |
| 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/1540/issue_layout |
| twitter:image | https://opengraph.githubassets.com/00df747fea258a4dbdc1506d5b4b85b9942162177e32f8519a2810f104debcfb/NativeScript/nativescript-angular/issues/1540 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/00df747fea258a4dbdc1506d5b4b85b9942162177e32f8519a2810f104debcfb/NativeScript/nativescript-angular/issues/1540 |
| og:image:alt | Make sure to check the existing issues in this repository None found. If there is no issue for your problem, tell us about it Which platform(s) does your issue occur on? Both iOS12 / Android 8.1.0 ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | noomieware |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7d0829bbde9e48b2486cb5dd6d147896eb01d32134627091f818958a935ef3f0 |
| 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 | f3f3a43ca095cdea3abbb394112e971f9fdb94fa |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width