Skip to content

Commit 562447b

Browse files
authored
[LOCAL][0.73] fix: cannot find module react-native-*/Libraries/Core/InitializeCore (#42877)
1 parent 055b35d commit 562447b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/community-cli-plugin/src/utils/loadMetroConfig.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ function getOverrideConfig(ctx: ConfigLoadingContext): InputConfigT {
6262
...outOfTreePlatforms.map(platform =>
6363
require.resolve(
6464
`${ctx.platforms[platform].npmPackageName}/Libraries/Core/InitializeCore`,
65+
{paths: [ctx.root]},
6566
),
6667
),
6768
],

0 commit comments

Comments
 (0)