Skip to content

Commit 1823d51

Browse files
authored
[FDC init] Fix React template creation when launched from VS Code (#9171)
* Add --no-interactive to the cmd * changelog
1 parent 96eebc8 commit 1823d51

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
- `firebase_update_environment` MCP tool supports accepting Gemini in Firebase Terms of Service.
2+
- Fixed a bug when `firebase init dataconnect` failed to create a React app when launched from VS Code extension (#9171).

src/init/features/dataconnect/create_app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { logLabeledBullet } from "../../../utils";
44

55
/** Create a React app using vite react template. */
66
export async function createReactApp(webAppId: string): Promise<void> {
7-
const args = ["create", "vite@latest", webAppId, "--", "--template", "react"];
7+
const args = ["create", "vite@latest", webAppId, "--", "--template", "react", "--no-interactive"];
88
await executeCommand("npm", args);
99
}
1010

0 commit comments

Comments
 (0)