-
-
Notifications
You must be signed in to change notification settings - Fork 197
TNS syncAllFiles on Android frequently crashes with error #4264
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @NathanaelA, I tried to reproduce the issue using the image picker plugin but everything is working as expected. I've changed a few js plugin files, using a linked plugin and the typescript demo. Also, we've never seen such error in our plugins. Could you please specify the following details:
Also, a sample application reproducing the problematic behavior will be appreciated. |
This comment was marked as abuse.
This comment was marked as abuse.
Hi @NathanaelA, We tried the same steps both on Ubuntu and MacOS:
but everything is working as expected on our side. As far as I see this error can be thrown during .apk installation, which is not an expected operation during LiveSync of JS files. We've seen such behavior when the Android Emulator's folders limit is reached and we are not able to execute the LiveSync operation. Could you please provide the trace logs from a problematic LiveSync of your demo app ( |
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as abuse.
Unfortunately, these are the regular logs from our In order to investigate both the Also, do you get these error on the same device/emulator or they are not depending on a specific device? |
This comment was marked as abuse.
This comment was marked as abuse.
Maybe the easiest approach is to use |
This comment was marked as abuse.
This comment was marked as abuse.
Thanks for the logs and the additional details. Unfortunately, we were not able to find the reason for the missing We also tried to reproduce this behavior with the free version of the SQLite plugin and exactly the same CLI and webpack versions but everything is working as expected when we run Could you try the following actions:
|
This comment was marked as abuse.
This comment was marked as abuse.
Hey @NathanaelA , |
This comment was marked as abuse.
This comment was marked as abuse.
With 6.0, how do I pick up a change I made manually in a |
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
I use
tns run android --syncAllFiles
while developing my plugin; but the issue is about every 4 to 10 updates; the CLI comes back with the error:Unable to apply changes for device:<DEVICE_ID>. Error is: The parser encountered an unexpected exception..
Sometimes it does not report any error but just stops without any messages.To Reproduce
Make changes to a plugin in the node_modules folder and let tns resync the app.
Expected behavior
It to continue working. 😀
Additional context
When it dies; I can't hit CTRL-C to abort it; have to find the tns process and kill it... (Which is also very annoying).
The text was updated successfully, but these errors were encountered: