Skip to content

Commit

Permalink
[eas-cli] install dependencies before resolving expo config (#2380)
Browse files Browse the repository at this point in the history
  • Loading branch information
szdziedzic authored May 13, 2024
1 parent a6f7d37 commit d6f3784
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/eas-cli/src/commands/project/onboarding.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,10 @@ export default class Onboarding extends EasCommand {
targetDir: finalTargetProjectDirectory,
});
}

await installDependenciesAsync({
projectDir: finalTargetProjectDirectory,
});
const exp = await getPrivateExpoConfigWithProjectIdAsync({
projectDir: finalTargetProjectDirectory,
graphqlClient,
Expand All @@ -175,9 +179,6 @@ export default class Onboarding extends EasCommand {
actor,
});

await installDependenciesAsync({
projectDir: finalTargetProjectDirectory,
});
if (!app.githubRepository) {
await runCommandAsync({
cwd: finalTargetProjectDirectory,
Expand Down

0 comments on commit d6f3784

Please sign in to comment.