Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

Snapshot fails with nativescript-dev-webpack versions > 0.21.2 #920

Closed
@KkevinLi

Description

@KkevinLi

Environment
✔ Getting NativeScript components versions information...
✔ Component nativescript has 5.4.0 version and is up to date.
✔ Component tns-core-modules has 5.4.1 version and is up to date.
✔ Component tns-android has 5.4.0 version and is up to date.
✔ Component tns-ios has 5.4.0 version and is up to date.

  • Node.js: v10.14.0

Describe the bug

After upgrading nativescript-dev-webpack to 0.24.0 (and those > 0.21.2) I get the following error when doing a snapshot build:

ERROR in NativeScriptSnapshot. Snapshot generation failed!
Target architecture: arm64-v8a


#
# Fatal error in , line 0
# Check failed: blob.data.
#
#
#
#FailureMessage Object: 0x7ffeee2f8c00
==== C stack trace ===============================

    0   mksnapshot-arm64                    0x0000000102d14e43 mksnapshot-arm64 + 21065283
    1   mksnapshot-arm64                    0x0000000102d19dfb mksnapshot-arm64 + 21085691
    2   mksnapshot-arm64                    0x0000000102d0f915 mksnapshot-arm64 + 21043477
    3   mksnapshot-arm64                    0x00000001019007ed mksnapshot-arm64 + 10221
    4   libdyld.dylib                       0x00007fff6b93b3d5 start + 1
    5   ???                                 0x0000000000000006 0x0 + 6

Executing webpack failed with exit code 2.

To Reproduce

tns build android --compileSdk 28 --env.aot --env.snapshot --env.release --env.uglify --env.sourceMap --release --keyStorePath path --keyStorePassword pass --keyStoreAlias alias --keyStoreAliasPassword pass

Additional context

0ae6030

^ If I comment out line 176: semicolons: !isAnySourceMapEnabled my build does work.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions