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

[lockfile-explorer] Lockfile explorer no longer works with latest version in non-rush repo

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

@octogonz đang làm issue này rồi.

Từ ngày 6/10/2025.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

Summary

We use lockfile-explorer as a tool for analyzing our pnpm lockfile. It's awesome! Something seem to have broke with the latest major upgrade of the tool.

Repro steps

  1. Install the latest lockfile explorer globally
  2. Run lockfile-explorer in a directory contained pnpm-lock.yaml

Expected result:

Should work similar to how it worked with v1.7.42

Actual result:

Rush Lockfile Explorer 2.0.1 - https://lfx.rushstack.io/

App launched on http://localhost:8091
/Users/schaap/.local/share/fnm/node-versions/v18.18.2/installation/lib/node_modules/@rushstack/lockfile-explorer/lib/graph/lockfilePath.js:87
                throw new Error('getAbsolutePath(): relativePath goes above the root folder');
                      ^

Error: getAbsolutePath(): relativePath goes above the root folder
    at Object.getAbsolute (/Users/schaap/.local/share/fnm/node-versions/v18.18.2/installation/lib/node_modules/@rushstack/lockfile-explorer/lib/graph/lockfilePath.js:87:23)
    at createProjectLockfileEntry (/Users/schaap/.local/share/fnm/node-versions/v18.18.2/installation/lib/node_modules/@rushstack/lockfile-explorer/lib/graph/lfxGraphLoader.js:214:49)
    at Object.generateLockfileGraph (/Users/schaap/.local/share/fnm/node-versions/v18.18.2/installation/lib/node_modules/@rushstack/lockfile-explorer/lib/graph/lfxGraphLoader.js:389:30)
    at /Users/schaap/.local/share/fnm/node-versions/v18.18.2/installation/lib/node_modules/@rushstack/lockfile-explorer/lib/cli/explorer/ExplorerCommandLineParser.js:155:42

Node.js v18.18.2

Details

Standard questions

Please answer these questions to help us investigate your issue more quickly:

Question Answer
@rushstack/lockfile-explorer version? 2.0.1
Operating system? Mac
Would you consider contributing a PR? No
Node.js version (node -v)? v18.18.2
Ngôn ngữ chính
TypeScript
Star
6.5k
Fork
708
Merge trung bình
4 ngày 13 giờ
Pull request đã merge (30 ngày)
62

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.

Issue khác của microsoft/rushstack

Tất cả issue của microsoft/rushstack

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.