diff --git a/packages/cli/src/commands/init/init.js b/packages/cli/src/commands/init/init.js index c248a7c43..03615f32a 100644 --- a/packages/cli/src/commands/init/init.js +++ b/packages/cli/src/commands/init/init.js @@ -52,6 +52,7 @@ function generateProject(destinationRoot, newProjectName, options) { const pkgJson = require('react-native/package.json'); const reactVersion = pkgJson.peerDependencies.react; + PackageManager.setProjectDir(destinationRoot); createProjectFromTemplate( destinationRoot, newProjectName,