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

Version discrepancy in `marked` package

Đang mở
#763 0 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ó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
58/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ệ
node.js, typescript
Lĩnh vực
build-system

Hướng nghiên cứu

The conflict is between the marked and marked-terminal version ranges declared in the project's package.json, and the lockfile is where the resolved versions show up. Reproduce it by running a clean npm install and checking for the ERESOLVE warning. Done means the install runs without the peer conflict, and the chosen marked version still renders terminal output correctly, so check the code that calls marked-terminal before committing to a version.

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

Mô tả

When npm-installing the CLI:

npm warn ERESOLVE overriding peer dependency
npm warn While resolving: [email protected]
npm warn Found: [email protected]
npm warn node_modules/@elastic/cli/node_modules/marked
npm warn   marked@"^18.0.0" from @elastic/[email protected]
npm warn   node_modules/@elastic/cli
npm warn     @elastic/cli@"0.5.0" from the root project
npm warn
npm warn Could not resolve dependency:
npm warn peer marked@">=1 <16" from [email protected]
npm warn node_modules/@elastic/cli/node_modules/marked-terminal
npm warn   marked-terminal@"^7.3.0" from @elastic/[email protected]
npm warn   node_modules/@elastic/cli
npm warn
npm warn Conflicting peer dependency: [email protected]
npm warn node_modules/marked
npm warn   peer marked@">=1 <16" from [email protected]
npm warn   node_modules/@elastic/cli/node_modules/marked-terminal
npm warn     marked-terminal@"^7.3.0" from @elastic/[email protected]
npm warn     node_modules/@elastic/cli
Ngôn ngữ chính
TypeScript
Star
49
Fork
27
Merge trung bình
1 ngày 15 giờ
Pull request đã merge (30 ngày)
73

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 elastic/cli

Tất cả issue của elastic/cli

Issue tương tự

Thêm issue về TypeScript

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.