Fresh Windows clone: npm run dev and npm run check-format fail
I maintainer di solito rispondono entro 2 giorni
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 25/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Ferma
- Stack tecnologico
- git, node.js, typescript, vite
- Ambito
- build-system
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- TypeScript
- Stelle
- 2.8k
- Fork
- 344
- Merge medio
- 1g 8h
- PR unite (30g)
- 33
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di CopilotKit/OpenDots
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
CopilotKit/OpenDots#69 ·
I maintainer di solito rispondono entro 2 giorni
-
Long page titles are clipped in the page editorForse già presa @charan-rathore l’ha presa 1 giorno fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
CopilotKit/OpenDots#68 ·
I maintainer di solito rispondono entro 2 giorni
-
CopilotKit/OpenDots#100 ·
I maintainer di solito rispondono entro 2 giorni
-
Plugins and wider controlAperta
CopilotKit/OpenDots#88 ·
I maintainer di solito rispondono entro 2 giorni
-
CopilotKit/OpenDots#87 · 1 reazione ·
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di CopilotKit/OpenDots
Issue simili
-
area:docs bug triage:confirmed
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
Cotal-AI/Cotal#2875 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
anomalyco/models.dev#8862 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
fix(data-lake): wizard source step still previews the local slug, not the server-disambiguated oneApertadata-lake
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
ready-for-triage
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
konflux-ci/konflux-ui#1596 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement good first issue priority: low size: XS
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno