Skip to content

[RN] Metro config is no longer optional #214

Description

@janicduplessis

RN CI currently fails with

(node:3341) UnhandledPromiseRejectionWarning: Error: Could not find configuration for metro, did you create a 'metro.config.js'?
    at /private/tmp/react-native-8DEOpVT4/EndToEndTest/node_modules/metro-config/src/loadConfig.js:139:13
    at Generator.next (<anonymous>)
    at step (/private/tmp/react-native-8DEOpVT4/EndToEndTest/node_modules/metro-config/src/loadConfig.js:253:447)
    at /private/tmp/react-native-8DEOpVT4/EndToEndTest/node_modules/metro-config/src/loadConfig.js:253:607
    at <anonymous>

Not sure if this is intentional or not but I think it should still work without a config file.

cc @CompuIves @rafeca

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions