Skip to content

Potential Build data corruption #2291

@NathanaelA

Description

@NathanaelA

I have noticed with v2.4.0, that several times after I have freshly installed the Android platform (or on a new project), and then do a tns run android that the APK that it builds is corrupt.

This ONLY occurs on a new app/platform install where it has to copy all the JS from node_modules into the platform/android/... folder. One of the node_modules JS files, will end up being 0k in the platforms/android folder. Once I manually copy the file (like in this last case, application.android.js into the proper platform folder as application.js and then do another tns run android I'm up and running.

Please note the files in the node_modules are all correct and not corrupt; only a single one of the files that was copied by TNS over into the platforms/android/src/main/assets/app/tns_modules are corrupted. And the weird thing is it so far has only been ONE file that gets corrupted at a time. The rest of the files that are copied are all fine.

I can't tell you why it does it, but it has happened to me now a handful of times...

Node 6.9.1, TNS 2.4.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions