Skip to content

TNS syncAllFiles on Android frequently crashes with error #4264

@NathanaelA

Description

@NathanaelA

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: 5.1.0 (Also saw this issue in 5.0)
  • Cross-platform modules: 5.1.1
  • Android Runtime: 5.1.0
  • Plugin(s): Developing plugin 😀
  • OS: Linux

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).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions