diff --git a/examples/basic/metro.config.js b/examples/basic/metro.config.js index b09acb86c4..2572eb22ce 100644 --- a/examples/basic/metro.config.js +++ b/examples/basic/metro.config.js @@ -43,6 +43,10 @@ const config = { acc[name] = path.join(__dirname, 'node_modules', name); return acc; }, {}), + nodeModulesPaths: [ + path.resolve(path.join(__dirname, './node_modules')), + path.resolve(path.join(__dirname, '../../node_modules')) + ], transformer: { getTransformOptions: async () => ({ transform: {