Skip to content

GitLab私有仓库文档生成时报错 #382

@LiuYawei2019

Description

@LiuYawei2019

系统:Linux
python:V3.9.21
node:V22.9.0
npm:V10.8.3
GitLab:公司内部私有部署
报错信息:src/app/[owner]/[repo]/page.tsx (1335:19)
分析:代码是通过 http://gitlab.xxx.com/api/v4/projects/owner/repo.git 接口获取项目的信息。但从官网https://docs.gitlab.com/api/projects/#search-for-projects-by-name 查看接口为按照项目名称查询项目信息。/api/v4/projects/:id 支持通过项目的ID编号查询项目信息。
报错截图如下:
Image

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