Skip to content

tns run android --bundle doesn't pause on webpack compilation error  #3785

Closed
@sis0k0

Description

@sis0k0

Please, provide the details below:

Tell us about the problem

When you run tns run android --bundle and the webpack compilation fails, the CLI continues with native build, installing the app, etc. It should fail instead.

Note: tns build android --bundle works correctly.

Which platform(s) does your issue occur on?

I tested it only on Android.

Please provide the following version numbers that your issue occurs with:

  • CLI: next, reproducible with 4.1.2 too
  • Cross-platform modules: next
  • Runtime(s): next
  • Plugin(s): nativescript-dev-webpack is next

Please tell us how to recreate the issue in as much detail as possible.

Using the attached project:

tns run android --bundle

Is there code involved? If so, please share the minimal amount of code needed to

The attached project has an invalid require.
jsapp.tar.gz

Metadata

Metadata

Assignees

Labels

buge2e test neededDescribes that issue requires functional testrunDescribes issues related to run commandseverity: highwebpack

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions