typelevel / typelevel/typelevel.github.com
issue: Duplicate path error during build
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:
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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