From c4742859798704b4698516c50d654d2b9580f642 Mon Sep 17 00:00:00 2001 From: Kacper Kafara Date: Thu, 20 Jun 2024 21:12:20 +0200 Subject: [PATCH] Fix missing node_modules path --- TestsExample/metro.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TestsExample/metro.config.js b/TestsExample/metro.config.js index 808ee58fdc..676b9640b9 100644 --- a/TestsExample/metro.config.js +++ b/TestsExample/metro.config.js @@ -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