Skip to content

Error on app reopen after an update is installed #45

Open
@koraykupe

Description

@koraykupe

Hello,

I get that error when I add a new release using release command and close the app and reopen on iOS simulator. I test it on local. tns build ios command is successful.
What could be the cause of the error?

JavaScript stack trace:
copyEntriesInFolderDestFolderError(file:///node_modules/nativescript-app-sync/TNSLocalPackage.js:36:48)
at onUnzipComplete(file:///node_modules/nativescript-app-sync/TNSLocalPackage.js:36:48)
at file:///node_modules/nativescript-app-sync/TNSLocalPackage.js:90:35
at UIApplicationMain([native code])
at _start(file:///node_modules/tns-core-modules/application/application.js:295:26)
at run(file:///node_modules/tns-core-modules/application/application.js:323:11)
at $start(file:///node_modules/nativescript-vue/dist/index.js:14050:2)
at file:///app/bundle.js:4373:10
at ./main.js(file:///app/bundle.js:4377:34)
at __webpack_require__(file:///app/webpack/bootstrap:74:0)
at checkDeferredModules(file:///app/webpack/bootstrap:43:0)
at webpackJsonpCallback(file:///app/webpack/bootstrap:30:0)
at anonymous(file:///app/bundle.js:2:61)
at evaluate([native code])
at moduleEvaluation([native code])
at promiseReactionJob([native code])
JavaScript error:
file:///node_modules/nativescript-app-sync/TNSLocalPackage.js:36:48: JS ERROR NSErrorWrapper: The folder “5720a69d6efaf9154f960105a59a75b08467452bb792b779bba221cb1d73692d” doesn’t exist.
NativeScript caught signal 11.
Native Stack:
1   0x10fb9bcb1 sig_handler(int)
2   0x113206b1d _sigtramp
3   0x10fab70a8
4   0x11312db85 libunwind::UnwindCursor<libunwind::LocalAddressSpace, libunwind::Registers_x86_64>::step()
5   0x113131e58 _Unwind_RaiseException
6   0x112c6f8bd __cxa_throw
7   0x1121dec44 _objc_exception_destructor(void*)
8   0x10fb51bbf NativeScript::reportFatalErrorBeforeShutdown(JSC::ExecState*, JSC::Exception*, bool)
9   0x10fb684e9 NativeScript::FFICallback<NativeScript::ObjCBlockCallback>::ffiClosureCallback(ffi_cif*, void*, void**, void*)
10  0x110539756 ffi_closure_unix64_inner
11  0x11053a17a ffi_closure_unix64
12  0x111e8458d +[SSZipArchive unzipFileAtPath:toDestination:progressHandler:completionHandler:]
13  0x111e9fba9 __66+[TNSAppSync unzipFileAtPath:toDestination:onProgress:onComplete:]_block_invoke
14  0x112da3848 _dispatch_call_block_and_release
15  0x112da47b9 _dispatch_client_callout
16  0x112da6861 _dispatch_queue_override_invoke
17  0x112db3bf9 _dispatch_root_queue_drain
18  0x112db439b _dispatch_worker_thread2
19  0x11321871d _pthread_wqthread
20  0x1132185c3 start_wqthread
JS Stack unavailable. Current thread hasn't initialized a {N} runtime.
JS ERROR NSErrorWrapper: The folder “5720a69d6efaf9154f960105a59a75b08467452bb792b779bba221cb1d73692d” doesn’t exist.

Tried both on ON_NEXT_RESUME and IMMEDIATE install modes. I test the app while tns run ios --emulator --no-watch --no-hmr command is running. It only happens sometimes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions