Skip to content

Config "--platform" arg causing builds to fail #2463

Closed
@micaww

Description

@micaww

Description

Builds failing with latest release because "--platform" arg is being passed to "config", but the arg is unknown causing validation issues.

Introduced in this PR, --platform android is being passed to config now: #2379

Commander needs to know about the option (ideal) or disable the validation via .allowUnknownOption()

Reproducible Demo

Run config the way the build script is trying to:

> node ./node_modules/@react-native-community/cli/build/bin.js config --platform android

error: unknown option '--platform'

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions