Angular 19 specs won't run
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
- 25/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- angular, typescript
- Lĩnh vực
- frontend, testing-qa
Hướng nghiên cứu
Trước tiên, hãy tái hiện lỗi của test suite Angular 19 và kiểm tra các lỗi phân giải module được báo cáo cho node_modules/plotly.js-dist-min/plotly.min.js. So sánh test build với serving build, sau đó xác nhận rằng các dependency còn thiếu đã được phân giải và các spec chạy thành công.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
When using this library in an Angular 19 application, I'm having an issue running my test suite. None of the tests run due to the following:
✔ Browser application bundle generation complete.
./node_modules/plotly.js-dist-min/plotly.min.js - Error: Module not found: Error: Can't resolve 'd3-array' in '.../node_modules/plotly.js-dist-min'
./node_modules/plotly.js-dist-min/plotly.min.js - Error: Module not found: Error: Can't resolve 'd3-collection' in '.../node_modules/plotly.js-dist-min'
./node_modules/plotly.js-dist-min/plotly.min.js - Error: Module not found: Error: Can't resolve 'd3-dispatch' in '.../node_modules/plotly.js-dist-min'
./node_modules/plotly.js-dist-min/plotly.min.js - Error: Module not found: Error: Can't resolve 'd3-geo' in '.../node_modules/plotly.js-dist-min'
./node_modules/plotly.js-dist-min/plotly.min.js - Error: Module not found: Error: Can't resolve 'd3-path' in '.../node_modules/plotly.js-dist-min'
./node_modules/plotly.js-dist-min/plotly.min.js - Error: Module not found: Error: Can't resolve 'd3-quadtree' in '.../node_modules/plotly.js-dist-min'
./node_modules/plotly.js-dist-min/plotly.min.js - Error: Module not found: Error: Can't resolve 'd3-shape' in '.../node_modules/plotly.js-dist-min'
./node_modules/plotly.js-dist-min/plotly.min.js - Error: Module not found: Error: Can't resolve 'd3-time' in '.../node_modules/plotly.js-dist-min'
./node_modules/plotly.js-dist-min/plotly.min.js - Error: Module not found: Error: Can't resolve 'd3-timer' in '.../node_modules/plotly.js-dist-min'
./node_modules/plotly.js-dist-min/plotly.min.js - Error: Module not found: Error: Can't resolve 'elementary-circuits-directed-graph' in '.../node_modules/plotly.js-dist-min'
I'm not sure how to diagnose this and the plotly.js github doesn't show any issues like this in their repository. Could I get some help getting pointed in the right direction on diagnosing the issue here and overcoming it?
For what it is worth, the plots work great when serving the application, so I'm hopeful that there is something I need to do to get my specs running again.
- Ngôn ngữ chính
- TypeScript
- Star
- 242
- Fork
- 81
- Merge trung bình
- 8 giờ 48 phút
- Pull request đã merge (30 ngày)
- 18
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
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của plotly/angular-plotly.js
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
plotly/angular-plotly.js#285 · 3 bình luận ·
-
event handlers are not typed Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 38/100
plotly/angular-plotly.js#283 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
plotly/angular-plotly.js#281 · 8 bình luận · 2 reaction ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 38/100
plotly/angular-plotly.js#276 · 2 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 30/100
plotly/angular-plotly.js#273 · 1 reaction ·