Skip to content

issue: Duplicate path error during build #610

@synan-mannan

Description

@synan-mannan

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions