Skip to content

Commit

Permalink
Fix missing node_modules path
Browse files Browse the repository at this point in the history
  • Loading branch information
kkafar committed Jun 20, 2024
1 parent aaee08d commit c474285
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TestsExample/metro.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const config = {
return acc;
}, {}),

nodeModulesPaths: [path.join(__dirname, '../../')],
nodeModulesPaths: [path.join(__dirname, '../../'), path.join(__dirname, 'node_modules')],

// Since we use react-navigation as submodule it comes with it's own node_modules. While loading
// react-navigation code, due to how module resolution algorithms works it seems that its node_modules
Expand Down

0 comments on commit c474285

Please sign in to comment.