typelevel / typelevel/typelevel.github.com

issue: Duplicate path error during build

Open
#610 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
42
Forks
115
Avg merge
5d 5h
Merged PRs (30d)
7

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running the development server and locating the configuration that adds the hard-coded .well-known directory or other static documents. Compare those inputs with the filesystem sources and confirm that removing the duplicate configuration eliminates the parser errors and allows the site to build and start.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.