The CLI needs Bun: under Node alone `tsci` fails and the Node entry can't load `.tsx`
I maintainer di solito rispondono entro 1 giorno
@cocvn157 ci sta già lavorando.
Dal 8/11/2026.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- bun, node.js, typescript
- Ambito
- cli
Direzione di ricerca
Start by reading the CLI entry points and the code that loads .tsx circuits; the report names cli.mjs and the @tscircuit/cli Node entry but gives no source file or test path. Reproduce the reported commands with Node and no Bun, then decide whether a Node-only loader or documentation and an install message are the intended fix. Done means circuit commands work under Node alone or users are clearly told Bun is required; an open linked pull request is already addressing this issue.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Reported before as tscircuit/tscircuit#2828, which was closed as stale. With Node 25.9 and no Bun on the PATH, after npm install tscircuit:
$ node_modules/.bin/tsci --version
env: bun: No such file or directory # the bin's shebang is #!/usr/bin/env bun
$ node node_modules/tscircuit/cli.mjs --version
0.0.2942
$ node node_modules/tscircuit/cli.mjs check netlist index.circuit.tsx
Unknown file extension ".tsx" for .../index.circuit.tsx
$ node_modules/.bin/tscircuit-cli --version # @tscircuit/cli's Node entry
(prints nothing, exit 0)
So Node can run --version, but no command that loads a circuit.
- Expected, one of:
- a Node-only path that can load
.tsx(for example via a loader); - or docs and an install message that say Bun is required.
- a Node-only path that can load
- Workaround:
npm install bun, or install Bun.
Versions: tscircuit 0.0.2942, @tscircuit/cli 0.1.2364, Node 25.9.0.
- Lingua principale
- TypeScript
- Stelle
- 19
- Fork
- 115
- Merge medio
- 1h 50m
- PR unite (30g)
- 260
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
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 tscircuit/cli
-
`tsci check` and `tsci check netlist` exit 0 when they report errorsForse già presa @aswadi l’ha presa 3 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 57/100
I maintainer di solito rispondono entro 1 giorno
-
@tscircuit/cli 0.1.2452 bundles brace-expansion 2.0.1 and minimatch 5.1.2 (via make-vfs), both with published advisoriesForse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
I maintainer di solito rispondono entro 1 giorno
-
tsci dev: ngspice spiceEngine from tscircuit.config.ts fails three ways (package.json, top-level await, blob import)Forse già presa @cocvn157 l’ha presa 10 giorni fa. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 22/100
I maintainer di solito rispondono entro 1 giorno
-
tsci export -f glb can't load a relative cadModel stepUrl (404); build --glbs canForse già presa @jeffrey-graham l’ha presa 8 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 25/100
I maintainer di solito rispondono entro 1 giorno
-
`tsci check netlist` prints `undefined` after a resistor's value and labels resistor pins anode / cathodeForse già presa @cocvn157 l’ha presa 10 giorni fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
tscircuit/cli#5447 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di tscircuit/cli
Issue simili
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P2
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
openclaw/openclaw#199885 · 2 commenti · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
feature needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
BoardGamesEmpire/board-games-empire-backend#1306 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
sequant-io/sequant#1689 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100