voidzero-dev / voidzero-dev/vite-task
Investigate vp lint failure when run through vite-task
Aperta
@wan9chi ci sta già lavorando.
Dal 29/6/2026.
bug
- Lingua principale
- Rust
- Stelle
- 466
- Fork
- 42
- Merge medio
- 1g 15h
- PR unite (30g)
- 19
Descrizione
Follow-up from https://github.com/voidzero-dev/vite-plus/pull/1944#issuecomment-4800894266
There appears to be an exception related to vite-task: vp lint runs normally when executed directly, but fails after passing through the task runner.
Repro:
docker run --rm ghcr.io/voidzero-dev/vite-plus:pr-1944 bash -c \
'vp create vite:monorepo --directory hello --no-interactive && cd hello && vp lint && vp run ready'\n```\n\nObserved failure:\n- direct `vp lint` succeeds\n- `vp run ready` fails while running `vp check` / `tsgolint`\n- error includes: `spawnSync .../tsgolint EINVAL`\n\nRelevant excerpt:\n```\nError running tsgolint: "exit status: exit status: 1"\nError: spawnSync /app/hello/node_modules/.pnpm/@oxlint-tsgolint+linux-x64@0.23.0/node_modules/@oxlint-tsgolint/linux-x64/tsgolint EINVAL\n```\n\nContext from the original report:\n- Node 24.18.0\n- pnpm 11.9.0\n- generated via `vp create vite:monorepo`\n\nLikely next step:\n- compare environment/process spawning differences between direct invocation and vite-task runner execution\n- verify whether stdio/env/cwd handling is causing `tsgolint` spawn failure
Guida per i contributori
Apri 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.
Valutazione
Questa issue non è ancora stata valutata.