You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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: angular-cli 8.3.18
Cross-platform modules:
Android Runtime: tns-android 6.5.3
iOS Runtime: tns-ios 6.5.4
Plugin(s):
NativeScript-Angular: 8.20.1
Angular: 8.2.0
Describe the bug
Nativescript android and ios runtime issue failing with module not found Error Message 1
Error Message 2
***** Fatal JavaScript exception - application has been terminated. *****
Native stack trace:
1 0x10b82b62e NativeScript::reportFatalErrorBeforeShutdown(JSC::ExecState*, JSC::Exception*, bool)
2 0x10b87d524 -[TNSRuntime executeModule:referredBy:]
3 0x10ae96053 main
4 0x7fff2025abbd start
JavaScript stack trace:
webpackMissingModule(file: src/ACCommon/enums/index.ts:11:17)
at ./ACCommon/enums/index.ts(file: src/ACCommon/enums/index.ts:11:17)
at webpack_require(file: src/webpack/bootstrap:750:0)
at fn(file: src/webpack/bootstrap:120:0)
at ./ACCommon/config/app-config.module.ts(file: src/ACCommon/config/app-config.module.ts:5:22)
at webpack_require(file: src/webpack/bootstrap:750:0)
at fn(file: src/webpack/bootstrap:120:0)
at ./ACCommon/services/data/api-helper.service.ts(file: src/ACCommon/services/data/api-helper.service.ts:6:34)
at webpack_require(file: src/webpack/bootstrap:750:0)
at fn(file: src/webpack/bootstrap:120:0)
at ./ACCommon/helpers/http-get-image.helper.ts(file: src/ACCommon/helpers/http-get-image.helper.ts:6:35)
at webpack_require(file: src/webpack/bootstrap:750:0)
at fn(file: src/webpack/bootstrap:120:0)
at ./ACCommon/helpers/index.ts(file: src/ACCommon/helpers/index.ts:9:17)
at webpack_require(file: src/webpack/bootstrap:750:0)
at fn(file: src/webpack/bootstrap:120:0)
at ./ACCommon/services/fingerprint.service.ts(file: src/ACCommon/services/fingerprint.service.ts:5:24)
at webpack_require(file: src/webpack/bootstrap:750:0)
at fn(file:///app/runtime.<…>
JavaScript error:
file: src/ACCommon/enums/index.ts:11:17: JS ERROR Error: Cannot find module './timepoint.enum'
(CoreFoundation) *** Terminating app due to uncaught exception 'NativeScript encountered a fatal error: Error: Cannot find module './timepoint.enum'
at
webpackMissingModule(file: src/ACCommon/enums/index.ts:11:17)
at ./ACCommon/enums/index.ts(file: src/ACCommon/enums/index.ts:11:17)
at webpack_require(file: src/webpack/bootstrap:750:0)
at fn(file: src/webpack/bootstrap:120:0)
at ./ACCommon/config/app-config.module.ts(file: src/ACCommon/config/app-config.module.ts:5:22)
at webpack_require(file: src/webpack/bootstrap:750:0)
at fn(file: src/webpack/bootstrap:120:0)
at ./ACCommon/services/data/api-helper.service.ts(file: src/ACCommon/services/data/api-helper.service.ts:6:34)
at webpack_require(file: src/webpack/bootstrap:750:0)
at fn(file: src/webpack/bootstrap:120:0)
at ./ACCommon/helpers/http-get-image.helper.ts(file: src/ACCommon/helpers/http-get-image.helper.ts:6:35)
at webpack_require(file: src/webpack/bootstrap:750:0)
at fn(file: src/webpack/bootstrap:120:0)
at ./ACCommon/helpers/index.ts(file: src/ACCommon/helpers/index.ts:9:17)
at webpack_require(file: src/webpack/bootstrap:750:0)
at fn(file: src/webpack/bootstrap:120:0)
at ./ACCommon/servic<…>
NativeScript caught signal 6.
Native Stack:
1 0x10b87c171 sig_handler(int)
2 0x7fff60335d7d _sigtramp
3 0x1
4 0x7fff200fbcb5 abort
5 0x7fff20254692 abort_message
6 0x7fff20245dfd demangling_unexpected_handler()
7 0x7fff20179ace _objc_terminate()
8 0x7fff20253aa7 std::__terminate(void ()())
9 0x7fff20256174 __cxa_get_exception_ptr
10 0x7fff2025613b __cxxabiv1::exception_cleanup_func(_Unwind_Reason_Code, _Unwind_Exception)
11 0x7fff20194119 objc_exception_throw
12 0x10b82bb6f NativeScript::reportFatalErrorBeforeShutdown(JSC::ExecState*, JSC::Exception*, bool)
13 0x10b87d524 -[TNSRuntime executeModule:referredBy:]
14 0x10ae96053 main
15 0x7fff2025abbd start
JS Stack:
Successfully synced application com.assuricare.apex.ios on device C4C7DBC9-BA6D-4648-8204-6EF11F80CC33.
CONSOLE INFO file: node_modules/nativescript-dev-webpack/hot.js:3:0: HMR: Hot Module Replacement Enabled. Waiting for signal.
***** Fatal JavaScript exception - application has been terminated. *****
Native stack trace:
1 0x10162e62e NativeScript::reportFatalErrorBeforeShutdown(JSC::ExecState*, JSC::Exception*, bool)
2 0x101680524 -[TNSRuntime executeModule:referredBy:]
3 0x1000dc053 main
4 0x7fff2025abbd start
5 0x1
JavaScript stack trace:
webpackMissingModule(file: src/ACCommon/enums/index.ts:11:17)
at ./ACCommon/enums/index.ts(file: src/ACCommon/enums/index.ts:11:17)
at webpack_require(file: src/webpack/bootstrap:750:0)
at fn(file: src/webpack/bootstrap:120:0)
at ./ACCommon/config/app-config.module.ts(file: src/ACCommon/config/app-config.module.ts:5:22)
at webpack_require(file: src/webpack/bootstrap:750:0)
at fn(file: src/webpack/bootstrap:120:0)
at ./ACCommon/services/data/api-helper.service.ts(file: src/ACCommon/services/data/api-helper.service.ts:6:34)
at webpack_require(file: src/webpack/bootstrap:750:0)
at fn(file: src/webpack/bootstrap:120:0)
at ./ACCommon/helpers/http-get-image.helper.ts(file: src/ACCommon/helpers/http-get-image.helper.ts:6:35)
at webpack_require(file: src/webpack/bootstrap:750:0)
at fn(file: src/webpack/bootstrap:120:0)
at ./ACCommon/helpers/index.ts(file: src/ACCommon/helpers/index.ts:9:17)
at webpack_require(file: src/webpack/bootstrap:750:0)
at fn(file: src/webpack/bootstrap:120:0)
at ./ACCommon/services/fingerprint.service.ts(file: src/ACCommon/services/fingerprint.service.ts:5:24)
at webpack_require(file: src/webpack/bootstrap:750:0)
at fn(file:///app/runtime.<…>
JavaScript error:
file: src/ACCommon/enums/index.ts:11:17: JS ERROR Error: Cannot find module './timepoint.enum'
(CoreFoundation) *** Terminating app due to uncaught exception 'NativeScript encountered a fatal error: Error: Cannot find module './timepoint.enum'
at
webpackMissingModule(file: src/ACCommon/enums/index.ts:11:17)
at ./ACCommon/enums/index.ts(file: src/ACCommon/enums/index.ts:11:17)
at webpack_require(file: src/webpack/bootstrap:750:0)
at fn(file: src/webpack/bootstrap:120:0)
at ./ACCommon/config/app-config.module.ts(file: src/ACCommon/config/app-config.module.ts:5:22)
at webpack_require(file: src/webpack/bootstrap:750:0)
at fn(file: src/webpack/bootstrap:120:0)
at ./ACCommon/services/data/api-helper.service.ts(file: src/ACCommon/services/data/api-helper.service.ts:6:34)
at webpack_require(file: src/webpack/bootstrap:750:0)
at fn(file: src/webpack/bootstrap:120:0)
at ./ACCommon/helpers/http-get-image.helper.ts(file: src/ACCommon/helpers/http-get-image.helper.ts:6:35)
at webpack_require(file: src/webpack/bootstrap:750:0)
at fn(file: src/webpack/bootstrap:120:0)
at ./ACCommon/helpers/index.ts(file: src/ACCommon/helpers/index.ts:9:17)
at webpack_require(file: src/webpack/bootstrap:750:0)
at fn(file: src/webpack/bootstrap:120:0)
at ./ACCommon/servic<…>
NativeScript caught signal 6.
Native Stack:
1 0x10167f171 sig_handler(int)
2 0x7fff60335d7d _sigtramp
3 0x1
4 0x7fff200fbcb5 abort
5 0x7fff20254692 abort_message
6 0x7fff20245dfd demangling_unexpected_handler()
7 0x7fff20179ace _objc_terminate()
8 0x7fff20253aa7 std::__terminate(void ()())
9 0x7fff20256174 __cxa_get_exception_ptr
10 0x7fff2025613b __cxxabiv1::exception_cleanup_func(_Unwind_Reason_Code, _Unwind_Exception)
11 0x7fff20194119 objc_exception_throw
12 0x10162eb6f NativeScript::reportFatalErrorBeforeShutdown(JSC::ExecState*, JSC::Exception*, bool)
13 0x101680524 -[TNSRuntime executeModule:referredBy:]
14 0x1000dc053 main
15 0x7fff2025abbd start
16 0x1
Error Message 3
***** Fatal JavaScript exception - application has been terminated. *****
Native stack trace:
1 0x100e0a62e NativeScript::reportFatalErrorBeforeShutdown(JSC::ExecState*, JSC::Exception*, bool)
2 0x100e4b3a8 NativeScript::FFICallbackNativeScript::ObjCMethodCallback::ffiClosureCallback(ffi_cif*, void*, void**, void*)
3 0x101846c90 ffi_closure_unix64_inner
4 0x1018476b2 ffi_closure_unix64
5 0x7fff20363851 ___CFXRegistrationPost_block_invoke
6 0x7fff20362f81 _CFXRegistrationPost
7 0x7fff203628ef _CFXNotificationPost
8 0x7fff207e9027 -[NSNotificationCenter postNotificationName:object:userInfo:]
9 0x7fff246bf4a5 -[UIApplication _callInitializationDelegatesWithActions:forCanvas:payload:fromOriginatingProcess:]
10 0x7fff246c4d63 -[UIApplication _runWithMainScene:transitionContext:completion:]
11 0x7fff23ce629b -[_UISceneLifecycleMultiplexer completeApplicationLaunchWithFBSScene:transitionContext:]
12 0x7fff24272726 _UIScenePerformActionsWithLifecycleActionMask
13 0x7fff23ce6dad __101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke
14 0x7fff23ce686e -[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:]
15 0x7fff23ce6bda -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]
16 0x7fff23ce646f -[_UISceneLifecycleMultiplexer uiScene:transitionedFromState:withTransitionContext:]
17 0x7fff23cee6d8 __186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block_invoke
18 0x7fff2417c77d +[BSAnimationSettings(UIKit) tryAnimatingWithSettings:actions:completion:]
19 0x7fff2428f60e _UISceneSettingsDiffActionPerformChangesWithTransitionContext
20 0x7fff23cee3de -[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]
21 0x7fff23b117d5 __64-[UIScene scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke
22 0x7fff23b1024e -[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:]
23 0x7fff23b1140e -[UIScene scene:didUpdateWithDiff:transitionContext:completion:]
24 0x7fff246c3203 -[UIApplication workspace:didCreateScene:withTransitionContext:completion:]
25 0x7fff241a4ab4 -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:]
26 0x7fff25a1b40b -[FBSScene _callOutQueue_agent_didCreateWithTransitionContext:completion:]
27 0x7fff25a43e55 __94-[FBSWorkspaceScenesClient createWithSceneID:groupID:parameters:transitionContext:completion:]_block_invoke.176
28 0x7fff25a28f12 -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:]
29 0x7fff25a43b28 __94-[FBSWorkspaceScenesClient createWithSceneID:groupID:parameters:transitionContext:completion:]_block_invoke
30 0x7fff201078df _dispatch_client_callout
31 0x7fff2010aa87 _dispatch_block_invoke_direct
JavaScript stack trace:
file: node_modules/@angular/compiler/fesm5/compiler.js:21765:0
at file: node_modules/@angular/compiler/fesm5/compiler.js:21613:0
at forEach([native code])
at file: node_modules/@angular/compiler/fesm5/compiler.js:21598:0
at file: node_modules/@angular/compiler/fesm5/compiler.js:21220:64
at forEach([native code])
at file: node_modules/@angular/compiler/fesm5/compiler.js:21211:0
at file: node_modules/@angular/compiler/fesm5/compiler.js:27378:0
at file: node_modules/@angular/compiler/fesm5/compiler.js:27359:0
at file: node_modules/@angular/compiler/fesm5/compiler.js:27319:0
at file: node_modules/@angular/core/fesm5/core.js:26790:0
at file: node_modules/@nativescript/angular/platform-common.js:89:0
at file: node_modules/@nativescript/angular/platform-common.js:156:0
at file: node_modules/@nativescript/core/data/observable/observable.js:124:0
at [native code]
at file: node_modules/@nativescript/core/application/application.ios.js:171:0
at file: node_modules/@nativescript/core/application/application.ios.js:163:0
at [native code]
at file: node_modules/@nativescript/core/application/application.ios.js:36:0
at UIApplicationMain([native code])
at run(file: node_modules/@nativescript/core/application/application.ios.js:312:0)
at file: node_modules/@nativescript/angular/platform-common.js:210:0
at file: node_modules/@nativescript/angular/platform-common.js:111:0
at file: node_modules/@nativescript/angular/platform-common.js:91:0
at file:///app/bundle.js:10968:144
at ./main.ts(file:///app/bundle.js:10973:34)
at webpack_require(file: src/webpack/bootstrap:750:0)
at checkDeferredModules(file: src/webpack/bootstrap:43:0)
at webpackJsonpCallback(file: src/webpack/bootstrap:30:0)
at<…>
JavaScript error:
file: node_modules/@angular/compiler/fesm5/compiler.js:21765:0: JS ERROR Error: Encountered undefined provider! Usually this means you have a circular dependencies. This might be caused by using 'barrel' index.ts files. To Reproduce
tns run ios, tns run android, npm run ios & npm run android
Expected behavior
should compile successfully and open the app in emulator & simulator Sample project
Environment
Provide version numbers for the following components (information can be retrieved by running
tns info
in your project folder or by inspecting thepackage.json
of the project):Describe the bug
Nativescript android and ios runtime issue failing with module not found
Error Message 1
Error Message 2
***** Fatal JavaScript exception - application has been terminated. *****
Native stack trace:
1 0x10b82b62e NativeScript::reportFatalErrorBeforeShutdown(JSC::ExecState*, JSC::Exception*, bool)
2 0x10b87d524 -[TNSRuntime executeModule:referredBy:]
3 0x10ae96053 main
4 0x7fff2025abbd start
JavaScript stack trace:
webpackMissingModule(file: src/ACCommon/enums/index.ts:11:17)
at ./ACCommon/enums/index.ts(file: src/ACCommon/enums/index.ts:11:17)
at webpack_require(file: src/webpack/bootstrap:750:0)
at fn(file: src/webpack/bootstrap:120:0)
at ./ACCommon/config/app-config.module.ts(file: src/ACCommon/config/app-config.module.ts:5:22)
at webpack_require(file: src/webpack/bootstrap:750:0)
at fn(file: src/webpack/bootstrap:120:0)
at ./ACCommon/services/data/api-helper.service.ts(file: src/ACCommon/services/data/api-helper.service.ts:6:34)
at webpack_require(file: src/webpack/bootstrap:750:0)
at fn(file: src/webpack/bootstrap:120:0)
at ./ACCommon/helpers/http-get-image.helper.ts(file: src/ACCommon/helpers/http-get-image.helper.ts:6:35)
at webpack_require(file: src/webpack/bootstrap:750:0)
at fn(file: src/webpack/bootstrap:120:0)
at ./ACCommon/helpers/index.ts(file: src/ACCommon/helpers/index.ts:9:17)
at webpack_require(file: src/webpack/bootstrap:750:0)
at fn(file: src/webpack/bootstrap:120:0)
at ./ACCommon/services/fingerprint.service.ts(file: src/ACCommon/services/fingerprint.service.ts:5:24)
at webpack_require(file: src/webpack/bootstrap:750:0)
at fn(file:///app/runtime.<…>
JavaScript error:
file: src/ACCommon/enums/index.ts:11:17: JS ERROR Error: Cannot find module './timepoint.enum'
(CoreFoundation) *** Terminating app due to uncaught exception 'NativeScript encountered a fatal error: Error: Cannot find module './timepoint.enum'
at
webpackMissingModule(file: src/ACCommon/enums/index.ts:11:17)
at ./ACCommon/enums/index.ts(file: src/ACCommon/enums/index.ts:11:17)
at webpack_require(file: src/webpack/bootstrap:750:0)
at fn(file: src/webpack/bootstrap:120:0)
at ./ACCommon/config/app-config.module.ts(file: src/ACCommon/config/app-config.module.ts:5:22)
at webpack_require(file: src/webpack/bootstrap:750:0)
at fn(file: src/webpack/bootstrap:120:0)
at ./ACCommon/services/data/api-helper.service.ts(file: src/ACCommon/services/data/api-helper.service.ts:6:34)
at webpack_require(file: src/webpack/bootstrap:750:0)
at fn(file: src/webpack/bootstrap:120:0)
at ./ACCommon/helpers/http-get-image.helper.ts(file: src/ACCommon/helpers/http-get-image.helper.ts:6:35)
at webpack_require(file: src/webpack/bootstrap:750:0)
at fn(file: src/webpack/bootstrap:120:0)
at ./ACCommon/helpers/index.ts(file: src/ACCommon/helpers/index.ts:9:17)
at webpack_require(file: src/webpack/bootstrap:750:0)
at fn(file: src/webpack/bootstrap:120:0)
at ./ACCommon/servic<…>
NativeScript caught signal 6.
Native Stack:
1 0x10b87c171 sig_handler(int)
2 0x7fff60335d7d _sigtramp
3 0x1
4 0x7fff200fbcb5 abort
5 0x7fff20254692 abort_message
6 0x7fff20245dfd demangling_unexpected_handler()
7 0x7fff20179ace _objc_terminate()
8 0x7fff20253aa7 std::__terminate(void ()())
9 0x7fff20256174 __cxa_get_exception_ptr
10 0x7fff2025613b __cxxabiv1::exception_cleanup_func(_Unwind_Reason_Code, _Unwind_Exception)
11 0x7fff20194119 objc_exception_throw
12 0x10b82bb6f NativeScript::reportFatalErrorBeforeShutdown(JSC::ExecState*, JSC::Exception*, bool)
13 0x10b87d524 -[TNSRuntime executeModule:referredBy:]
14 0x10ae96053 main
15 0x7fff2025abbd start
JS Stack:
Successfully synced application com.assuricare.apex.ios on device C4C7DBC9-BA6D-4648-8204-6EF11F80CC33.
CONSOLE INFO file: node_modules/nativescript-dev-webpack/hot.js:3:0: HMR: Hot Module Replacement Enabled. Waiting for signal.
***** Fatal JavaScript exception - application has been terminated. *****
Native stack trace:
1 0x10162e62e NativeScript::reportFatalErrorBeforeShutdown(JSC::ExecState*, JSC::Exception*, bool)
2 0x101680524 -[TNSRuntime executeModule:referredBy:]
3 0x1000dc053 main
4 0x7fff2025abbd start
5 0x1
JavaScript stack trace:
webpackMissingModule(file: src/ACCommon/enums/index.ts:11:17)
at ./ACCommon/enums/index.ts(file: src/ACCommon/enums/index.ts:11:17)
at webpack_require(file: src/webpack/bootstrap:750:0)
at fn(file: src/webpack/bootstrap:120:0)
at ./ACCommon/config/app-config.module.ts(file: src/ACCommon/config/app-config.module.ts:5:22)
at webpack_require(file: src/webpack/bootstrap:750:0)
at fn(file: src/webpack/bootstrap:120:0)
at ./ACCommon/services/data/api-helper.service.ts(file: src/ACCommon/services/data/api-helper.service.ts:6:34)
at webpack_require(file: src/webpack/bootstrap:750:0)
at fn(file: src/webpack/bootstrap:120:0)
at ./ACCommon/helpers/http-get-image.helper.ts(file: src/ACCommon/helpers/http-get-image.helper.ts:6:35)
at webpack_require(file: src/webpack/bootstrap:750:0)
at fn(file: src/webpack/bootstrap:120:0)
at ./ACCommon/helpers/index.ts(file: src/ACCommon/helpers/index.ts:9:17)
at webpack_require(file: src/webpack/bootstrap:750:0)
at fn(file: src/webpack/bootstrap:120:0)
at ./ACCommon/services/fingerprint.service.ts(file: src/ACCommon/services/fingerprint.service.ts:5:24)
at webpack_require(file: src/webpack/bootstrap:750:0)
at fn(file:///app/runtime.<…>
JavaScript error:
file: src/ACCommon/enums/index.ts:11:17: JS ERROR Error: Cannot find module './timepoint.enum'
(CoreFoundation) *** Terminating app due to uncaught exception 'NativeScript encountered a fatal error: Error: Cannot find module './timepoint.enum'
at
webpackMissingModule(file: src/ACCommon/enums/index.ts:11:17)
at ./ACCommon/enums/index.ts(file: src/ACCommon/enums/index.ts:11:17)
at webpack_require(file: src/webpack/bootstrap:750:0)
at fn(file: src/webpack/bootstrap:120:0)
at ./ACCommon/config/app-config.module.ts(file: src/ACCommon/config/app-config.module.ts:5:22)
at webpack_require(file: src/webpack/bootstrap:750:0)
at fn(file: src/webpack/bootstrap:120:0)
at ./ACCommon/services/data/api-helper.service.ts(file: src/ACCommon/services/data/api-helper.service.ts:6:34)
at webpack_require(file: src/webpack/bootstrap:750:0)
at fn(file: src/webpack/bootstrap:120:0)
at ./ACCommon/helpers/http-get-image.helper.ts(file: src/ACCommon/helpers/http-get-image.helper.ts:6:35)
at webpack_require(file: src/webpack/bootstrap:750:0)
at fn(file: src/webpack/bootstrap:120:0)
at ./ACCommon/helpers/index.ts(file: src/ACCommon/helpers/index.ts:9:17)
at webpack_require(file: src/webpack/bootstrap:750:0)
at fn(file: src/webpack/bootstrap:120:0)
at ./ACCommon/servic<…>
NativeScript caught signal 6.
Native Stack:
1 0x10167f171 sig_handler(int)
2 0x7fff60335d7d _sigtramp
3 0x1
4 0x7fff200fbcb5 abort
5 0x7fff20254692 abort_message
6 0x7fff20245dfd demangling_unexpected_handler()
7 0x7fff20179ace _objc_terminate()
8 0x7fff20253aa7 std::__terminate(void ()())
9 0x7fff20256174 __cxa_get_exception_ptr
10 0x7fff2025613b __cxxabiv1::exception_cleanup_func(_Unwind_Reason_Code, _Unwind_Exception)
11 0x7fff20194119 objc_exception_throw
12 0x10162eb6f NativeScript::reportFatalErrorBeforeShutdown(JSC::ExecState*, JSC::Exception*, bool)
13 0x101680524 -[TNSRuntime executeModule:referredBy:]
14 0x1000dc053 main
15 0x7fff2025abbd start
16 0x1
Error Message 3
***** Fatal JavaScript exception - application has been terminated. *****
Native stack trace:
1 0x100e0a62e NativeScript::reportFatalErrorBeforeShutdown(JSC::ExecState*, JSC::Exception*, bool)
2 0x100e4b3a8 NativeScript::FFICallbackNativeScript::ObjCMethodCallback::ffiClosureCallback(ffi_cif*, void*, void**, void*)
3 0x101846c90 ffi_closure_unix64_inner
4 0x1018476b2 ffi_closure_unix64
5 0x7fff20363851 ___CFXRegistrationPost_block_invoke
6 0x7fff20362f81 _CFXRegistrationPost
7 0x7fff203628ef _CFXNotificationPost
8 0x7fff207e9027 -[NSNotificationCenter postNotificationName:object:userInfo:]
9 0x7fff246bf4a5 -[UIApplication _callInitializationDelegatesWithActions:forCanvas:payload:fromOriginatingProcess:]
10 0x7fff246c4d63 -[UIApplication _runWithMainScene:transitionContext:completion:]
11 0x7fff23ce629b -[_UISceneLifecycleMultiplexer completeApplicationLaunchWithFBSScene:transitionContext:]
12 0x7fff24272726 _UIScenePerformActionsWithLifecycleActionMask
13 0x7fff23ce6dad __101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke
14 0x7fff23ce686e -[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:]
15 0x7fff23ce6bda -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]
16 0x7fff23ce646f -[_UISceneLifecycleMultiplexer uiScene:transitionedFromState:withTransitionContext:]
17 0x7fff23cee6d8 __186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block_invoke
18 0x7fff2417c77d +[BSAnimationSettings(UIKit) tryAnimatingWithSettings:actions:completion:]
19 0x7fff2428f60e _UISceneSettingsDiffActionPerformChangesWithTransitionContext
20 0x7fff23cee3de -[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]
21 0x7fff23b117d5 __64-[UIScene scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke
22 0x7fff23b1024e -[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:]
23 0x7fff23b1140e -[UIScene scene:didUpdateWithDiff:transitionContext:completion:]
24 0x7fff246c3203 -[UIApplication workspace:didCreateScene:withTransitionContext:completion:]
25 0x7fff241a4ab4 -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:]
26 0x7fff25a1b40b -[FBSScene _callOutQueue_agent_didCreateWithTransitionContext:completion:]
27 0x7fff25a43e55 __94-[FBSWorkspaceScenesClient createWithSceneID:groupID:parameters:transitionContext:completion:]_block_invoke.176
28 0x7fff25a28f12 -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:]
29 0x7fff25a43b28 __94-[FBSWorkspaceScenesClient createWithSceneID:groupID:parameters:transitionContext:completion:]_block_invoke
30 0x7fff201078df _dispatch_client_callout
31 0x7fff2010aa87 _dispatch_block_invoke_direct
JavaScript stack trace:
file: node_modules/@angular/compiler/fesm5/compiler.js:21765:0
at file: node_modules/@angular/compiler/fesm5/compiler.js:21613:0
at forEach([native code])
at file: node_modules/@angular/compiler/fesm5/compiler.js:21598:0
at file: node_modules/@angular/compiler/fesm5/compiler.js:21220:64
at forEach([native code])
at file: node_modules/@angular/compiler/fesm5/compiler.js:21211:0
at file: node_modules/@angular/compiler/fesm5/compiler.js:27378:0
at file: node_modules/@angular/compiler/fesm5/compiler.js:27359:0
at file: node_modules/@angular/compiler/fesm5/compiler.js:27319:0
at file: node_modules/@angular/core/fesm5/core.js:26790:0
at file: node_modules/@nativescript/angular/platform-common.js:89:0
at file: node_modules/@nativescript/angular/platform-common.js:156:0
at file: node_modules/@nativescript/core/data/observable/observable.js:124:0
at [native code]
at file: node_modules/@nativescript/core/application/application.ios.js:171:0
at file: node_modules/@nativescript/core/application/application.ios.js:163:0
at [native code]
at file: node_modules/@nativescript/core/application/application.ios.js:36:0
at UIApplicationMain([native code])
at run(file: node_modules/@nativescript/core/application/application.ios.js:312:0)
at file: node_modules/@nativescript/angular/platform-common.js:210:0
at file: node_modules/@nativescript/angular/platform-common.js:111:0
at file: node_modules/@nativescript/angular/platform-common.js:91:0
at file:///app/bundle.js:10968:144
at ./main.ts(file:///app/bundle.js:10973:34)
at webpack_require(file: src/webpack/bootstrap:750:0)
at checkDeferredModules(file: src/webpack/bootstrap:43:0)
at webpackJsonpCallback(file: src/webpack/bootstrap:30:0)
at<…>
JavaScript error:
file: node_modules/@angular/compiler/fesm5/compiler.js:21765:0: JS ERROR Error: Encountered undefined provider! Usually this means you have a circular dependencies. This might be caused by using 'barrel' index.ts files.
To Reproduce
tns run ios, tns run android, npm run ios & npm run android
Expected behavior
should compile successfully and open the app in emulator & simulator
Sample project
Additional context
Pacakage.json
{
"nativescript": {
"id": {
"ios": "com.assuricare.apex.ios",
"android": "com.assuricare.apex.android"
},
"tns-android": {
"version": "6.5.3"
},
"tns-ios": {
"version": "6.5.4"
}
},
"scripts": {
"clean": "tns platform clean ios && tns platform clean android",
"android": "tns run android --env.aot",
"ios": "tns run ios --env.aot",
"ios-prod": "tns run ios --env.aot --env.name=production",
"android-prod": "tns run android --env.aot --env.name=production",
"deploy": "./appcenter_deploy.sh ",
"lint": "tslint "src/**/*.ts""
},
"dependencies": {
"@angular/animations": "~8.2.0",
"@angular/common": "~8.2.0",
"@angular/compiler": "~8.2.0",
"@angular/core": "~8.2.0",
"@angular/forms": "~8.2.0",
"@angular/http": "8.0.0-beta.10",
"@angular/platform-browser": "~8.2.0",
"@angular/platform-browser-dynamic": "~8.2.0",
"@angular/router": "~8.2.0",
"@ngx-translate/core": "^11.0.1",
"@ngx-translate/http-loader": "^4.0.0",
"@ngxs-labs/emitter": "^2.0.0",
"@ngxs/store": "^3.6.1",
"@nstudio/nativescript-cardview": "^1.0.0",
"@nstudio/nativescript-checkbox": "^1.0.0",
"@nstudio/nativescript-loading-indicator": "4.0.0",
"@nstudio/nativescript-pulltorefresh": "^1.1.1",
"ajv": "^6.10.0",
"base-64": "^0.1.0",
"bootstrap": "^4.3.1",
"core-js": "3.4.1",
"d3-ease": "^1.0.6",
"i": "^0.3.6",
"jquery": "^3.4.1",
"moment": "^2.24.0",
"nativescript-android-utils": "^1.0.2",
"nativescript-angular": "^8.20.1",
"nativescript-appavailability": "^1.3.2",
"nativescript-appversion": "^1.4.2",
"nativescript-audio": "^5.0.5",
"nativescript-azure-mobile-apps": "^2.0.3",
"nativescript-background-http": "^4.2.0",
"nativescript-calendar": "^2.2.1",
"nativescript-camera": "^4.5.0",
"nativescript-drawingpad": "^3.1.0",
"nativescript-drop-down": "^5.0.4",
"nativescript-email": "^1.5.5",
"nativescript-fingerprint-auth": "^7.0.2",
"nativescript-geolocation": "^5.1.0",
"nativescript-imagepicker": "^7.1.0",
"nativescript-iqkeyboardmanager": "^1.5.1",
"nativescript-local-notifications": "^4.1.5",
"nativescript-mediafilepicker": "^3.0.1",
"nativescript-microsoft-appcenter": "^2.0.0",
"nativescript-permissions": "^1.3.8",
"nativescript-phone": "^1.4.0",
"nativescript-photo-editor": "^1.1.0",
"nativescript-plugin-firebase": "^10.3.1",
"nativescript-secure-storage": "^2.6.0",
"nativescript-swiss-army-knife": "^4.0.2",
"nativescript-theme-core": "^2.0.24",
"nativescript-toasty": "^3.0.0-alpha.2",
"nativescript-ui-calendar": "^6.0.0",
"nativescript-ui-dataform": "^6.0.0",
"nativescript-ui-listview": "^8.0.0",
"nativescript-ui-sidedrawer": "^8.0.0",
"nativescript-urlhandler": "^1.3.0",
"npm": "^6.14.4",
"popper.js": "^1.15.0",
"reflect-metadata": "~0.1.12",
"rxjs": "^6.4.0",
"tns-core-modules": "^6.5.20",
"zone.js": "^0.9.1"
},
"devDependencies": {
"@angular-devkit/build-angular": "^0.901.0",
"@angular/cli": "^8.3.18",
"@angular/compiler-cli": "~8.2.0",
"@nativescript/schematics": "~0.7.3",
"@ngtools/webpack": "~8.2.0",
"@types/d3-ease": "^1.0.9",
"@types/jasmine": "2.8.6",
"@types/jasminewd2": "~2.0.3",
"@types/node": "12.6.3",
"codelyzer": "^5.0.1",
"nativescript-dev-webpack": "^1.5.1",
"node-sass": "^4.13.1",
"protractor": "^6.0.0",
"tns-android": "6.5.3",
"tns-ios": "6.5.4",
"tns-platform-declarations": "6.4.2",
"ts-node": "8.5.0",
"tslint": "5.18.0",
"typescript": "3.4.5"
},
"gitHead": "a6fec076a20f898feabb4466a2c411158c18a100"
}
The text was updated successfully, but these errors were encountered: