typelevel / typelevel/typelevel.github.com
issue: Duplicate path error during build
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- HTML
- Star
- 42
- Fork
- 115
- Merge trung bình
- 5 ngày 5 giờ
- Pull request đã merge (30 ngày)
- 7
Mô tả
While running the project locally (served on 127.0.0.1:8000), the typelevel.github.com fails during parsing with multiple duplicate path errors.
Below is the attached screenshot of error message:
This causes the site build to fail and prevents the server from starting successfully.
Possible Cause:
This may be happening due to:
- Multiple input directories being merged (e.g., duplicate InputTreeBuilder sources).
- The same .well-known directory being included twice in configuration.
- A custom Laika configuration adding static documents that conflict with filesystem inputs.
Based upon my observations:
This issue is caused due to hardcoding the ".well-known" -
Steps to Reproduce:
- Clone the repository
- Run the development server
- Observe parser failure with duplicate path errors
Suggested fix:
I would suggest removal of the hard-coded .well-known Directory, post of removal the build works absolutely fine.
Would like to raise a PR to fix this issue.
Hướng dẫn đóng góp
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.
Hướng nghiên cứu
Bắt đầu bằng cách chạy development server và xác định cấu hình thêm thư mục .well-known được hard-code hoặc các tài liệu tĩnh khác. So sánh các đầu vào đó với các nguồn trong filesystem và xác nhận rằng việc xóa cấu hình trùng lặp sẽ loại bỏ các lỗi parser và cho phép build và khởi động site.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- html
- Lĩnh vực
- build-system
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 48/100