solidjs-community / solidjs-community/solid-cli

Visible Errors

Aperta
#59 1 commento 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Lingua principale
TypeScript
Stelle
79
Fork
23
Merge medio
2g 12h
PR unite (30g)
2

Descrizione

I tried to create a new solid starter project but only got "Something went wrong". It led me here and I upgraded all version of bun, pnpm, node, deno ... etc.
Then I got this at some point:
npx @solid-cli/full create myapp

  at Jp (…/.npm/_npx/d471c36726d0a855/node_modules/@solid-cli/full/dist/bin.mjs:8:717)
  at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
  at async lk (…/.npm/_npx/d471c36726d0a855/node_modules/@solid-cli/full/dist/bin.mjs:10:30352)
  at async Zh (…/.npm/_npx/d471c36726d0a855/node_modules/@solid-cli/full/dist/bin.mjs:10:30996)
  at async I1 (…/.npm/_npx/d471c36726d0a855/node_modules/@solid-cli/full/dist/bin.mjs:10:31079)
  at async uf (…/.npm/_npx/d471c36726d0a855/node_modules/@solid-cli/full/dist/bin.mjs:191:296)
  at async Object.run (…/.npm/_npx/d471c36726d0a855/node_modules/@solid-cli/full/dist/bin.mjs:220:2605)
  at async Vp (…/.npm/_npx/d471c36726d0a855/node_modules/@solid-cli/full/dist/bin.mjs:5:3970)
  at async Vp (…/.npm/_npx/d471c36726d0a855/node_modules/@solid-cli/full/dist/bin.mjs:5:3829)
  at async zp (…/.npm/_npx/d471c36726d0a855/node_modules/@solid-cli/full/dist/bin.mjs:7:367)

which in turn led me to a fetch to: https://api.github.com/repos/${e}/${t}/commits?per_page=1
and trying this:

curl https://api.github.com/repos/$\{e\}/$\{t\}/commits\?per_page\=1
{"message":"API rate limit exceeded for <my-ip>. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)","documentation_url":"https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting"}

I would have loved to just read the message in the terminal.

So, this is not a bug with the deployments, I assume my office just triggered that rate limit, but it would have been nice to know why "Something went wrong"

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Inizia riproducendo npx @solid-cli/full create myapp e ispeziona il percorso della CLI che richiede https://api.github.com/repos/${e}/${t}/commits?per_page=1; lo stack trace riportato punta al file incluso dist/bin.mjs. Il lavoro è completato quando il terminale riporta l’errore sottostante dell’API GitHub invece di mostrare soltanto «Something went wrong».

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
github, node.js, typescript
Ambito
api, cli
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.