Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[email protected] & 8.1.0 project download failure from `github:avajs/ava`

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

Maintainer thường phản hồi trong vòng 1 ngày

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

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
45/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
git, javascript, nodejs
Lĩnh vực
testing

Hướng nghiên cứu

The failing step is the lookup-replace in citgm's npm project download, which rewrites ava's registry metadata into github:avajs/ava/archive/v8.0.2.tar.gz and then runs git ls-remote on it. Reproduce by running citgm ava (or the lookup logic alone) and compare the output against npm view [email protected] repository, which gives a git+https URL that works. Done means ava 8.0.2 downloads through the same path as 8.0.1, with a test covering the github: shorthand case.

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

Mô tả

@novemberborn

The repo change in 8.0.2 is causing issues:

$ npm view [email protected] repository
{ url: 'git+https://github.com/avajs/ava.git', type: 'git' }

$ npm view [email protected] repository
{ url: 'github:avajs/ava', type: 'git' }
$ citgm ava
info: starting            | ava
info: lookup              | ava
info: lookup-found        | ava
info: ava lookup-replace  | github:avajs/ava/archive/v8.0.2.tar.gz
info: ava npm:            | Downloading project: github:avajs/ava/archive/v8.0.2.tar.gz
error: failure             | Failure getting project from npm
error:                     | npm error code 128
error:                     | npm error An unknown git error occurred
error:                     | npm error command git --no-replace-objects ls-remote ssh://[email protected]/avajs/ava/archive/v8.0.2.tar.gz.git
error:                     | npm error Warning: Permanently added 'github.com' (ED25519) to the list of known hosts.
error:                     | npm error [email protected]: Permission denied (publickey).
error:                     | npm error fatal: Could not read from remote repository.
error:                     | npm error
error:                     | npm error Please make sure you have the correct access rights
error:                     | npm error and the repository exists.
error:                     | npm error A complete log of this run can be found in: C:\Users\mikem\AppData\Local\npm-cache\_logs\2026-10-15T19_19_40_730Z-debug-0.log
error: failing module(s)   |
error: module name:        | ava
error: version:            | 8.0.2
error: error:              | Failure getting project from npm
error:                     | npm error code 128
error:                     | npm error An unknown git error occurred
error:                     | npm error command git --no-replace-objects ls-remote ssh://[email protected]/avajs/ava/archive/v8.0.2.tar.gz.git
error:                     | npm error Warning: Permanently added 'github.com' (ED25519) to the list of known hosts.
error:                     | npm error [email protected]: Permission denied (publickey).
error:                     | npm error fatal: Could not read from remote repository.
error:                     | npm error
error:                     | npm error Please make sure you have the correct access rights
error:                     | npm error and the repository exists.
error:                     | npm error A complete log of this run can be found in: C:\Users\mikem\AppData\Local\npm-cache\_logs\2026-10-15T19_19_40_730Z-debug-0.log
error: error:              | undefined
error: done                | The smoke test has failed.
info: duration            | test duration: 3416ms

Originally posted by @MikeMcC399 in #1169

https://www.npmjs.com/package/ava/v/8.0.2?activeTab=code
https://github.com/avajs/ava

Ngôn ngữ chính
JavaScript
Star
606
Fork
159
Merge trung bình
3 ngày 1 giờ
Pull request đã merge (30 ngày)
21

Chuẩn bị môi trường

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.

Issue khác của nodejs/citgm

Tất cả issue của nodejs/citgm

Issue tương tự

Thêm issue về JavaScript

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.