Warning when registering plugin using baseDir if broccoli-rollup is installed
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
- 38/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- javascript
- Lĩnh vực
- build-system
Hướng nghiên cứu
Tái hiện cảnh báo bằng ví dụ setupPreprocessorRegistry trong addon preprocess-rollup khi broccoli-rollup được cài đặt, sau đó chạy ember serve. Theo dõi cách việc đăng ký baseDir được xử lý trong quá trình tiền xử lý và xác minh rằng cảnh báo biến mất mà không xóa baseDir hoặc broccoli-rollup.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
When attempting to add a plugin
setupPreprocessorRegistry(type, registry) {
registry.add('htmlbars-ast-plugin', {
baseDir() {
return __dirname;
},
});
},
if broccoli-rollup is installed then when running ember serve I get the message:
Warning: failed to stat /preprocess-rollup/node_modules/broccoli-rollup/tmp/rollup-input_base_path-6obEeBLr.tmp/0
If I remove broccoli-rollup or remove the baseDir
setupPreprocessorRegistry(type, registry) {
registry.add('htmlbars-ast-plugin', {});
},
Then no warning is printed.
This is reproducible in a brand new addon like https://github.com/jrjohnson/preprocess-rollup (addon doesn't do anything and the plugin itself won't work since it doesn't exist, bu the message is obvious.
I'm running into this while working on https://github.com/FortAwesome/ember-fontawesome/pull/21
- Ngôn ngữ chính
- JavaScript
- Star
- 77
- Fork
- 65
- 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
- Đọ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 ember-cli/ember-cli-htmlbars
-
Security: Vulnerable dependency [email protected] [SNYK-JS-MINIMATCH-15309438, CVE-2026-26996]Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 38/100
ember-cli/ember-cli-htmlbars#792 ·
-
TemplateFactory type incompatible with setComponentTemplate type from @types/ember__componentĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
ember-cli/ember-cli-htmlbars#787 · 1 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 38/100
ember-cli/ember-cli-htmlbars#781 · 1 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
ember-cli/ember-cli-htmlbars#779 · 1 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
ember-cli/ember-cli-htmlbars#774 · 2 bình luận ·
Tất cả issue của ember-cli/ember-cli-htmlbars
Issue tương tự
-
bug(sight): the dashboard's text truncations split surrogate pairs and show broken charactersĐang mởcomponent:sight
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
agentic-os-org/ANOLISA#6738 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug Durable Agents Observability (AI Telemetry) status: needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
mastra-ai/mastra#26470 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
feature/cohorts feature/feature-flags team/feature-flags
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Orbit-xyz/orbit-docs#11 ·
-
area/build area/tech debt
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 2 ngày