typelevel / typelevel/typelevel.github.com
issue: Duplicate path error during build
未关闭
还没有人认领这个 Issue。
- 主要语言
- HTML
- 星标
- 42
- 派生
- 115
- 平均合并
- 5 天 5 小时
- 30 天内合并 PR
- 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 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先运行开发服务器,并定位添加硬编码的 .well-known 目录或其他静态文档的配置。将这些输入与文件系统源进行比较,并确认移除重复配置可以消除解析器错误,使网站能够构建和启动。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- html
- 领域
- build-system
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 48/100