Unable to download package from powershell gallery

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

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

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
30/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
powershell
Lĩnh vực
devops

Hướng nghiên cứu

Start by reproducing the reported Install-Module AWSPowerShell -Scope CurrentUser -Force failure and inspect the gallery code that serves https://www.powershellgallery.com/api/v2/package/{package}/{version}. The report does not name a source file or test, so locate the package download endpoint and its tests first. Done means the package installs successfully and the reported invalid source location no longer appears.

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

Mô tả

Prerequisites
  • Write a descriptive title.
  • Make sure you are able to repro it on the latest version
  • Search the existing issues.
Steps to reproduce

Install-Module AWSPowerShell -Scope CurrentUser -Force

Expected behavior
module gets installed
Actual behavior
WARNING: Source Location 'https://www.powershellgallery.com/api/v2/package/AWSPowerShell/4.1.642' is not valid.
Install-Package: Package 'AWSPowerShell' failed to download.
Error details

No response

Environment data
n/a
Version

n/a

Visuals

No response

Ngôn ngữ chính
PowerShell
Star
289
Fork
83
Merge trung bình
1 phút
Pull request đã merge (30 ngày)
1

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 PowerShell/PowerShellGallery

Tất cả issue của PowerShell/PowerShellGallery

Issue tương tự

Thêm issue về DevOps

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.