Is the release of 1.2.0 correct?

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

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

  • #4 của @rdebeasi — đã đóng, không merge

Đá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
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
javascript, webpack
Lĩnh vực
build-system

Hướng nghiên cứu

Start by comparing the published 1.2.0 and 1.1.0 index.js files in node_modules, then inspect the repository’s release and compile configuration. Reproduce the reported StateMachine import failure with @react-pdf/renderer and check whether the build output differs from 1.1.0. Done means confirming the cause and documenting or fixing the release build so the import works.

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

Mô tả

I have an issue, when I try to install @react-pdf/renderer, read about it here: https://github.com/diegomura/react-pdf/issues/643

After doing some research, I have the suspicion, that with the release of 1.2.0 maybe something went wrong. In the example above, the @render-pdf/fontkit wants to import the StateMachine from index.js of this repo in the node_modules folder. At the 1.2.0 version the compiler (i.e. webpack) complains, that it is unable to import the StateMachine correctly.

When I use the contents of the older (1.1.0) index.js from node_modules the project compiles and runs without any problems.

Can someone confirm this? Or am I doing something horrible wrong? I guess, there might be some issues in the compile-section of the 1.2.0 release.

Ngôn ngữ chính
JavaScript
Star
62
Fork
7
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 foliojs/dfa

Tất cả issue của foliojs/dfa

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.