typelevel / typelevel/typelevel.github.com
issue: Duplicate path error during build
まだ誰も着手していません。
- 主要言語
- HTML
- スター
- 42
- フォーク
- 115
- 平均マージ
- 5日 5時間
- マージ済み PR(30日)
- 7
説明
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.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず開発サーバーを起動し、ハードコードされた .well-known ディレクトリやその他の静的ドキュメントを追加している設定を特定します。それらの入力をファイルシステムのソースと比較し、重複した設定を削除することでパーサーエラーが解消され、サイトをビルドして起動できることを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- html
- 領域
- build-system
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 48/100