Skip to content

app:bundleReleaseJsAndAssets depends on har-validator bin #13412

Description

@bilby91

Description

Android gradle task app:bundleReleaseJsAndAssets depends on har-validator. har-validator is a dependency of the request package. The current constraint for request is ^2.79.0. Since request 2.80 they updated har-validator to version 4.2 and this new version doesn't come with the bin executable, they split the project into har-cli. This generated an issue when having request >= 2.80.

Solution

Possible solutions could be to force 2.79 in request or add har-cli as a dependency. I really don't now source code during the building is the responsable for the hal-validator call.

Additional Information

  • React Native version: 0.41.2
  • Platform: Android
  • Development Operating System: macOS 10.12.3 (16D32)
  • Dev tools: SDK Version 23. Gradle 1.5.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