solidjs-community / solidjs-community/solid-cli

Visible Errors

Đang mở
#59 1 bình luận 1 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Ngôn ngữ chính
TypeScript
Star
79
Fork
23
Merge trung bình
2 ngày 12 giờ
Pull request đã merge (30 ngày)
2

Mô tả

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"

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện npx @solid-cli/full create myapp và kiểm tra đường dẫn CLI gọi https://api.github.com/repos/${e}/${t}/commits?per_page=1; stack trace được báo cáo trỏ đến tệp đã đóng gói dist/bin.mjs. Được xem là hoàn tất khi terminal báo lỗi GitHub API bên dưới thay vì chỉ hiển thị "Something went wrong".

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
github, node.js, typescript
Lĩnh vực
api, cli
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.