mirror of
https://github.com/status-im/react-native.git
synced 2025-02-20 13:18:07 +00:00
Summary: `launchPackager.bat` starts metro server but does not pass projectRoot to it. So metro server starts in the wrong directory, It is because `startServerInNewWindow` pass `react-native` directory instead of `projectRoot` in the third argument of `spawn()` in `runAndroid.js` Its working for people See https://github.com/facebook/react-native/issues/23908#issuecomment-475889443 [Android] [Fixed] - projectRoot in launchPackager.bat Pull Request resolved: https://github.com/facebook/react-native/pull/24115 Differential Revision: D14597101 Pulled By: cpojer fbshipit-source-id: fb4155b72e35062cfb41fe1b3ecca0e2b4e849ce