solidjs-community / solidjs-community/solid-cli

Visible Errors

オープン
#59 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
TypeScript
スター
79
フォーク
23
平均マージ
2日 12時間
マージ済み PR(30日)
2

説明

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"

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず npx @solid-cli/full create myapp を再現し、https://api.github.com/repos/${e}/${t}/commits?per_page=1 をリクエストする CLI パスを調査します。報告されたスタックトレースは、バンドルされた dist/bin.mjs を指しています。完了条件は、ターミナルに「Something went wrong」とだけ表示されるのではなく、根本となる GitHub API のエラーが報告されることです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
github, node.js, typescript
領域
api, cli
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。