typelevel / typelevel/typelevel.github.com

issue: Duplicate path error during build

オープン
#610 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
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:
Image

This causes the site build to fail and prevents the server from starting successfully.

Possible Cause:
This may be happening due to:

  1. Multiple input directories being merged (e.g., duplicate InputTreeBuilder sources).
  2. The same .well-known directory being included twice in configuration.
  3. 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" -
Image

Steps to Reproduce:

  1. Clone the repository
  2. Run the development server
  3. 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.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず開発サーバーを起動し、ハードコードされた .well-known ディレクトリやその他の静的ドキュメントを追加している設定を特定します。それらの入力をファイルシステムのソースと比較し、重複した設定を削除することでパーサーエラーが解消され、サイトをビルドして起動できることを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
html
領域
build-system
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
48/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。