NativeScript / playground-feedback

Feedback for NativeScript Playground
Apache License 2.0
16 stars 1 forks source link

Playground default app crash on iPhone (without any changes) #223

Open francisl opened 3 years ago

francisl commented 3 years ago

Did you search for the problem in other open issues in this repo?

Yes

Tell us about the problem

After following the step

Did you try it outside of {N} Playground?

Which browser are you using?

Are there any errors/warnings logged in your browser console?

No Logs. Just a crash on the preview app

Which platform(s) does your issue occur on?

Are there any entries logged in the Device Logs tab?

CONSOLE WARN file:///app/tns_modules/@nativescript/core/ui/tab-view/tab-view.js:17:14: Objective-C class name "UITabBarControllerImpl" is already in use - using "UITabBarControllerImpl1" instead.
CONSOLE WARN file:///app/tns_modules/@nativescript/core/ui/tab-view/tab-view.js:78:14: Objective-C class name "UITabBarControllerDelegateImpl" is already in use - using "UITabBarControllerDelegateImpl1" instead.
CONSOLE WARN file:///app/tns_modules/@nativescript/core/ui/tab-view/tab-view.js:116:14: Objective-C class name "UINavigationControllerDelegateImpl" is already in use - using "UINavigationControllerDelegateImpl1" instead.
2021-04-18 00:41:22.050 nsplaydev[1648:740971] ***** Fatal JavaScript exception - application has been terminated. *****
2021-04-18 00:41:22.050 nsplaydev[1648:740971] Native stack trace:
1   0x1051de348 NativeScript::reportFatalErrorBeforeShutdown(JSC::ExecState*, JSC::Exception*, bool)
2   0x105228428 -[TNSRuntime executeModule:referredBy:]
3   0x10630225c -[UIApplication(PlayLiveSync) swizzled_executeModule:]
4   0x1047b7524
5   0x181bc5568 <redacted>
2021-04-18 00:41:22.050 nsplaydev[1648:740971] JavaScript stack trace:
2021-04-18 00:41:22.050 nsplaydev[1648:740971] anonymous(file:///app/tns_modules/react-nativescript/dist/nativescript-vue-next/runtime/registry.js:61:14)
at evaluate([native code])
at moduleEvaluation([native code])
at [native code]
at asyncFunctionResume([native code])
at [native code]
at promiseReactionJob([native code])
at require([native code])
at anonymous(file:///app/tns_modules/react-nativescript/dist/client/HostConfig.js:18:25)
at evaluate([native code])
at moduleEvaluation([native code])
at [native code]
at asyncFunctionResume([native code])
at [native code]
at promiseReactionJob([native code])
at require([native code])
at anonymous(file:///app/tns_modules/react-nativescript/dist/index.js:7:27)
at evaluate([native code])
at moduleEvaluation([native code])
at [native code]
at asyncFunctionResume([native code])
at [native code]
at promiseReactionJob([native code])
at require([native code])
at anonymous(file:///app/app.js:6:32)
at evaluate([native code])
at moduleEvaluation([native code])
at [native code]
at asyncFunctionResume([native code])
at [native code]
at promiseReactionJob([native code])
at require([native code])
at anonymous(file:///app/__main.js:5:8)
at evaluate([native code])
at moduleEvaluation([native code])
at [native code]
at asyncFunctionResume([native code])
at [native code]
at promiseReactionJob([native code])
2021-04-18 00:41:22.050 nsplaydev[1648:740971] JavaScript error:
file:///app/tns_modules/react-nativescript/dist/nativescript-vue-next/runtime/registry.js:61:14: JS ERROR ReferenceError: Can't find variable: __TEST__
2021-04-18 00:41:22.051 nsplaydev[1648:740971] PlayLiveSync: Uncaught Exception
2021-04-18 00:41:22.051 nsplaydev[1648:740971] *** JavaScript call stack:
(

)
2021-04-18 00:41:22.051 nsplaydev[1648:740971] *** Terminating app due to uncaught exception 'NativeScript encountered a fatal error: ReferenceError: Can't find variable: __TEST__
 at 
anonymous(file:///app/tns_modules/react-nativescript/dist/nativescript-vue-next/runtime/registry.js:61:14)
at evaluate([native code])
at moduleEvaluation([native code])
at [native code]
at asyncFunctionResume([native code])
at [native code]
at promiseReactionJob([native code])
at require([native code])
at anonymous(file:///app/tns_modules/react-nativescript/dist/client/HostConfig.js:18:25)
at evaluate([native code])
at moduleEvaluation([native code])
at [native code]
at asyncFunctionResume([native code])
at [native code]
at promiseReactionJob([native code])
at require([native code])
at anonymous(file:///app/tns_modules/react-nativescript/dist/index.js:7:27)
at evaluate([native code])
at moduleEvaluation([native code])
at [native code]
at asyncFunctionResume([native code])
at [native code]
at promiseReactionJob([native code])
at require([native code])
at anonymous(file:///app/app.js:6:32)
at evaluate([native code])
at moduleEvaluation([native code])
at [native code]
at asyncFunctionResume([native code])
at [native code]
at promiseReactionJob([native code])
at require([native code])
at anonymous(file:///app/__main.js:5:8)
at evaluate([native code])
at moduleEvaluation([native code])
at [native code]
at asyncFunctionResume([native code])
at [native code]
at promiseReactionJob([native code])
', reason: '(null)'
*** First throw call stack:
(0x181f6d9d8 0x1962f0b54 0x1051de820 0x105228428 0x10630225c 0x1047b7524 0x181bc5568)
libc++abi.dylib: terminating with uncaught exception of type NSException
2021-04-18 00:41:22.051 nsplaydev[1648:740971] PlayLiveSync: Uncaught Exception

Please provide the following information shown in the devices tab in the playground:

iPhone X, latest update (14.4.2) lastest

Please tell us how to recreate the issue with as much detail as possible.

Install playground Install preview Go on Nativescript.org click on playground (I tried with, react, vue and svelte) scan with playground app crash