error message for platform not available is misleading
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- deno
- Lĩnh vực
- cli
Hướng nghiên cứu
Reproduce the issue with pkgx ollama on Ubuntu 23.10 x86-64, then inspect src/utils/semver.ts, src/hooks/useInventory.ts, and src/plumbing/resolve.ts from the stack trace. Determine why the platform-unavailable case produces invalid version; done means the command reports that platform availability problem with an accurate, useful error message.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
When running pkgx ollama (on Ubuntu 23.10 x86-64):
× unexpected error invalid version:
│ Error: invalid version:
│ at https://deno.land/x/libpkgx@v0.17.0/src/utils/semver.ts:44:17
│ at Array.flatMap (<anonymous>)
│ at new SemVer (https://deno.land/x/libpkgx@v0.17.0/src/utils/semver.ts:25:31)
│ at https://deno.land/x/libpkgx@v0.17.0/src/hooks/useInventory.ts:24:55
│ at Array.map (<anonymous>)
│ at Object.get (https://deno.land/x/libpkgx@v0.17.0/src/hooks/useInventory.ts:24:46)
│ at eventLoopTick (ext:core/01_core.js:182:7)
│ at async Object.select (https://deno.land/x/libpkgx@v0.17.0/src/hooks/useInventory.ts:7:20)
│ at async Promise.all (index 0)
│ at async resolve (https://deno.land/x/libpkgx@v0.17.0/src/plumbing/resolve.ts:55:3)
╰─➤ https://github.com/pkgxdev/pkgx/issues/new
- Ngôn ngữ chính
- Rust
- Star
- 9.9k
- Fork
- 1.4k
- Merge trung bình
- 1 ngày 17 giờ
- Pull request đã merge (30 ngày)
- 1
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
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của pkgxdev/pkgx
-
`--query` flag gone Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
-
`pkgx --update` Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
state:needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
zed-industries/zed#64680 · 2 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
RustPython/RustPython#8802 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
TheLarkInn/aipm#2390 ·