Fresh Windows clone: npm run dev and npm run check-format fail
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 停滞
- 技術スタック
- git, node.js, typescript, vite
- 領域
- build-system
調査の方向性
Review package.json scripts, src/server/index.ts, and the proposed PR #35 first. Reproduce with npm ci, npm run dev, and npm run check-format on Windows, then verify that the development server starts and an untouched checkout passes formatting checks.
索引モデルが issue の本文から書いたものです。
説明
Environment: Windows 11, Node 24.14.0, npm 11.9.0, Git with the default core.autocrlf=true. App mode: npm run dev.
Steps to reproduce
- Clone the repo on Windows and run
npm ci. - Run
npm run dev. - Run
npm run check-format.
Expected: the dev server starts, and the format check passes on an unmodified clone, as it does in CI.
Actual
npm run dev exits immediately, because npm runs scripts through cmd.exe, which can't parse inline NODE_ENV=development:
[0] 'NODE_ENV' is not recognized as an internal or external command,
[0] operable program or batch file.
[0] NODE_ENV=development node --env-file-if-exists=.env --import tsx --watch src/server/index.ts exited with code 1
--> Sending SIGTERM to other processes..
[1] vite exited with code 1
Dropping the variable doesn't help either: src/server/index.ts only allows the Vite origin http://127.0.0.1:5173 when NODE_ENV === 'development'.
npm run check-format fails on an untouched checkout:
[warn] Code style issues found in 121 files. Run Prettier with --write to fix.
There's no .gitattributes, so Git checks files out with CRLF line endings, but Prettier 3 expects endOfLine: "lf". The files in the repository already use LF; only the working tree is affected.
Proposed fix: add .gitattributes with * text=auto eol=lf, and use cross-env in the dev script. I have a PR ready.
- 主要言語
- TypeScript
- スター
- 2.8k
- フォーク
- 344
- 平均マージ
- 7時間 8分
- マージ済み PR(30日)
- 10
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
CopilotKit/OpenDots のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
CopilotKit/OpenDots#69 ·
メンテナーはふだん 1 日以内に返信
-
Long page titles are clipped in the page editor対応中かも @charan-rathore が 1 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
CopilotKit/OpenDots#68 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
CopilotKit/OpenDots#67 ·
メンテナーはふだん 1 日以内に返信
-
copilotkit project select rewrites INTELLIGENCE_API_KEY to CPK_INTELLIGENCE_API_KEY, which OpenDots never reads対応中かも @charan-rathore が 1 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
CopilotKit/OpenDots#55 ·
メンテナーはふだん 1 日以内に返信
-
Error banner stays after the server connection recovers対応中かも @charan-rathore が 1 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
CopilotKit/OpenDots#51 ·
メンテナーはふだん 1 日以内に返信
CopilotKit/OpenDots の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
solana-foundation/solana-com#2245 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
`document.cookie` with `max-age=0` does not delete the cookie対応中かも @BartInTheField が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
capricorn86/happy-dom#2460 ·
メンテナーはふだん 2 日以内に返信