a2ui-project / a2ui-project/a2ui

[bug/docs] [react/a2ui_explorer] Missing package.json prevents dev server from starting

オープン 初心者向け
#1,501 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
component: react renderer P2 status: needs review type: documentation
主要言語
TypeScript
スター
16.4k
フォーク
1.3k
平均マージ
3日 15時間
マージ済み PR(30日)
134

説明

Hi,
The React explorer app (renderers/react/a2ui_explorer) is missing its `package.json`. This means running `npm run dev` as mentioned in the [README.md](https://github.com/google/A2UI/blob/main/renderers/react/a2ui_explorer/README.md) will not launch the Vite dev server and nothing appears on localhost.

**Steps to reproduce:**
```
cd renderers/react/a2ui_explorer
npm install or npm run dev
```

**Expected**: Vite starts and the explorer is accessible in the browser.
**Fix**:
- Add a `package.json` file or
- Update README.md to reflect using vite as `npx vite` instead.

Can I please make the necessary change?

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

`renderers/react/a2ui_explorer` フォルダーに移動します。`package.json` ファイルが存在するか確認します。存在しない場合は、Vite で `npm run dev` を実行するために必要なスクリプトと依存関係を含むファイルを作成するか、README.md を更新して `npx vite` を使用します。開発サーバーを起動し、正しく起動することを確認して修正を検証します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
react, typescript, vite
領域
developer-experience, documentation, frontend
issue の種類
バグ
難易度
1/5
見積もり時間
1時間未満
活発さ
静か
明瞭さ
明確に書かれている
初心者へのやさしさ
80/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。