Open
Description
I'm try to create a PR for nativescript-angular
but I can't get the ng-sample app to work.
After it failed on my fork I decided to try by just cloning the main repo running npm i in nativescript-angular and ng-sample then tns run ios.
This gives the following error.
***** Fatal JavaScript exception - application has been terminated. *****
Native stack trace:
1 0x1077a911f NativeScript::reportFatalErrorBeforeShutdown(JSC::ExecState*, JSC::Exception*, bool)
2 0x1077de7a0 NativeScript::FFICallback<NativeScript::ObjCMethodCallback>::ffiClosureCallback(ffi_cif*, void*, void**, void*)
3 0x108101e96 ffi_closure_unix64_inner
4 0x1081028ba ffi_closure_unix64
5 0x10a98902f _CFXRegistrationPost
6 0x10a988d71 ___CFXNotificationPost_block_invoke
7 0x10aa6fae2 -[_CFXNotificationRegistrar find:object:observer:enumerator:]
8 0x10a988694 _CFXNotificationPost
9 0x108903589 -[NSNotificationCenter postNotificationName:object:userInfo:]
10 0x10d9df8c2 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:]
11 0x10d9e4c2f -[UIApplication _runWithMainScene:transitionContext:completion:]
12 0x10d2034e9 __111-[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:]_block_invoke
13 0x10d20c29c +[_UICanvas _enqueuePostSettingUpdateTransactionBlock:]
14 0x10d203126 -[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:]
15 0x10d203ae0 -[__UICanvasLifecycleMonitor_Compatability activateEventsOnly:withContext:completion:]
16 0x10d201cb5 __82-[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:]_block_invoke
17 0x10d20195f -[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:]
18 0x10d206a90 __125-[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:]_block_invoke
19 0x10d20780e _performActionsWithDelayForTransitionContext
20 0x10d2067ef -[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:]
21 0x10d20b93a -[_UICanvas scene:didUpdateWithDiff:transitionContext:completion:]
22 0x10d9e344e -[UIApplication workspace:didCreateScene:withTransitionContext:completion:]
23 0x10d587d09 -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:]
24 0x114b922da -[FBSSceneImpl _didCreateWithTransitionContext:completion:]
25 0x114b9d443 __56-[FBSWorkspace client:handleCreateScene:withCompletion:]_block_invoke_2
26 0x114b9cb3a __40-[FBSWorkspace _performDelegateCallOut:]_block_invoke
27 0x10afa454b _dispatch_client_callout
28 0x10afa760b _dispatch_block_invoke_direct
29 0x114bd1ba8 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__
30 0x114bd1860 -[FBSSerialQueue _performNext]
31 0x114bd1e40 -[FBSSerialQueue _performNextFromRunLoopSource]
JavaScript stack trace:
1 _reportError@file:///app/tns_modules/@angular/compiler/bundles/compiler.umd.js:19223:31
2 _getDependenciesMetadata@file:///app/tns_modules/@angular/compiler/bundles/compiler.umd.js:19035:38
3 _getTypeMetadata@file:///app/tns_modules/@angular/compiler/bundles/compiler.umd.js:18928:54
4 getNgModuleMetadata@file:///app/tns_modules/@angular/compiler/bundles/compiler.umd.js:18796:44
5 getNgModuleSummary@file:///app/tns_modules/@angular/compiler/bundles/compiler.umd.js:18606:58
6 @file:///app/tns_modules/@angular/compiler/bundles/compiler.umd.js:18693:77
7 forEach@[native code]
8 getNgModuleMetadata@file:///app/tns_modules/@angular/compiler/bundles/compiler.umd.js:18671:60
9 getNgModuleSummary@file:///app/tns_modules/@angular/compiler/bundles/compiler.umd.js:18606:58
10 @file:///app/tns_modules/@angular/compiler/bundles/compiler.umd.js:18693:77
11 forEach@[native code]
12 getNgModuleMetadata@file:///app/tns_modules/@angular/compiler/bundles/compiler.umd.js:18671:60
13 getNgModuleSum<…>
JavaScript error:
file:///app/tns_modules/@angular/compiler/bundles/compiler.umd.js:19223:31: JS ERROR Error: Can't resolve all parameters for ApplicationModule: (?).
^CExecuting after-watch hook from /Users/marcuswilliams/Hosts/modules/nativescript-angular/ng-sample/hooks/after-watch/nativescript-dev-typescript.js
Stopping tsc watch
Executing after-watch hook from /Users/marcuswilliams/Hosts/modules/nativescript-angular/ng-sample/hooks/after-watch/nativescript-dev-typescript.js
Not sure what I'm missing to make it work, I've checked all the guides i.e https://github.com/NativeScript/nativescript-angular/blob/master/DevelopmentWorkflow.md and there's nothing in there that suggests I've missed doing something.