vp create react-router aborts Vite+ integration when create-react-router Git commit fails
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- react, vite
- 領域
- cli
調査の方向性
Start from the vp create react-router flow that runs pnpm dlx create-react-router and handles its exit status. Check how scaffold failures are treated when the generated project already exists. Done means a failed Git initialization does not stop Vite+ integration and the generated project receives its Vite+ dependencies and configuration; linked pull request #3363 is already open.
索引モデルが issue の本文から書いたものです。
説明
Describe the bug
When creating a project with vp create react-router, Vite+ runs pnpm dlx create-react-router@latest.
If the user selects Yes when prompted to initialize Git, create-react-router reports:
Oh no! Failed to initialize git.
This stops the Vite+ integration step, so the generated project does not receive the Vite+ dependencies and configuration.
Running vp migrate afterward integrates the project successfully. However, Vite+ should prevent create-react-router’s Git initialization failure from aborting project creation and the subsequent Vite+ integration.
- Run
vp create react-routerin an empty directory. - Select
Yeswhen prompted to initialize a Git repository. - Complete the create-react-router prompts.
Expected:
Vite+ completes its integration after React Router scaffolding.
Actual:
create-react-router prints Oh no! Failed to initialize git.
Vite+ integration stops, and the generated project does not include Vite+ dependencies or configuration.
vp version: Not found
Workaround:
Run vp migrate in the generated project.
Reproduction
No Repository
Steps to reproduce
No response
System Info
`vp env current`
VITE+ - The Unified Toolchain for the Web
Node.js:
Version 26.13.0
Source lts
Bin Path C:\Users\zero86\AppData\Local\vite-plus\data\js_runtime\node\26.13.0\node.exe
Installed true
Mode managed
Package Manager:
Name pnpm
Version 12.6.0
Source packageManager
Bin Paths
pnpm C:\Users\zero86\AppData\Local\vite-plus\data\package_manager\pnpm\12.6.0\pnpm\bin\pnpm.exe
pnpx C:\Users\zero86\AppData\Local\vite-plus\data\package_manager\pnpm\12.6.0\pnpm\bin\pnpx.exe
Installed true
Mode managed
`vp --versoin`
vp v1.5.0
Local vite-plus:
vite-plus Not found
Tools:
vite Not found
rolldown Not found
vitest Not found
oxfmt Not found
oxlint Not found
oxlint-tsgolint Not found
tsdown Not found
Environment:
Package manager pnpm v12.6.0
Node.js v26.13.0
Used Package Manager
pnpm
Logs
PS C:\Users\zero86\WebstormProjects\test> vp create react-router
warn: This project does not use vite-plus. Learn how to migrate: https://viteplus.dev/guide/migrate
VITE+ - The Unified Toolchain for the Web
◇ [email protected] installed
◇ Which coding agent instruction files should Vite+ create?
AGENTS.md
◇ Which editors are you using?
Writes editor config files to enable recommended extensions and Oxlint/Oxfmt integrations.
VSCode
◇ Initialize a git repository?
Yes
◇ Set up pre-commit hooks to run formatting, linting, and type checking with auto-fixes?
Yes
◇ Generating project…
● Running: pnpm dlx create-react-router
create-react-router v8.5.1
dir Where should we create your new project?
./my-react-router
◼ Using default template See https://github.com/remix-run/react-router-templates for more
✔ Template copied
git Initialize a new git repository?
Yes
deps Install dependencies with pnpm?
Yes
skill Include the React Router agent skill?
Yes
◼ Agent skill: Included React Router agent skill
✔ Dependencies installed
▲ Oh no! Failed to initialize git.
Validations
- Read the Contributing Guidelines.
- Check that there isn't already an issue for the same bug.
- Confirm this is a Vite+ issue and not an upstream issue (Vite, Vitest, tsdown, Rolldown, or Oxc).
- The provided reproduction is a minimal reproducible example.
- 主要言語
- Rust
- スター
- 6.5k
- フォーク
- 297
- 平均マージ
- 1日 3時間
- マージ済み PR(30日)
- 245
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
voidzero-dev/vite-plus のほかの issue
-
triage: failed
難易度 2/5 1〜3時間 初心者へのやさしさ 71/100
voidzero-dev/vite-plus#3360 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
triage: not actionable
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
voidzero-dev/vite-plus#3296 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
pending triage
難易度 2/5 1〜3時間 初心者へのやさしさ 63/100
voidzero-dev/vite-plus#3235 ·
メンテナーはふだん 1 日以内に返信
-
Docker guide: the runtime stage needs libatomic1 for Node.js 25 and later対応中かも @kshanxs が 12 日前に担当しました。 オープンdocumentation
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
voidzero-dev/vite-plus#3219 · コメント 2 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
pending triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
voidzero-dev/vite-plus#2882 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
voidzero-dev/vite-plus の issue をすべて見る
似ている issue
-
rust_analyzer flycheck: no CLI way to enable clippy from `check.overrideCommand`対応中かも @TrapsterDK が今日担当しました。 オープンneeds-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
bazelbuild/rules_rust#4392 ·
メンテナーはふだん 2 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
🐞 bug 🧩 bevy_gantz_egui
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
nannou-org/gantz#500 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
metasequoiaime/msime#10989 ·
メンテナーはふだん 1 日以内に返信