【问题标题】:Build CI pipeline using Azure DevOps使用 Azure DevOps 构建 CI 管道
【发布时间】:2021-10-19 19:26:29
【问题描述】:

当我使用 azure DevOps 构建 Azure 管道时,我尝试构建 React 应用程序并遇到此错误。

error image of the Azure pipeline in Azure DevOps

您可以在下面我的 GitHub 存储库中看到 azure-pipeline.yml 文件代码。

azure-pipeline.yml file code in GitHub repository

【问题讨论】:

  • 检查 package.json 是否提交到 git 服务器。

标签: node.js reactjs azure continuous-integration devops


【解决方案1】:

在 GitHub 存储库中的所有更改成功后commit。与 azure 持续部署相关,我没有发现任何与构建相关的问题。

尝试recommit 您最近编辑的文件和rebuild 一次。解决问题。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2021-01-21
    • 1970-01-01
    • 2022-11-24
    • 2021-11-01
    • 2019-12-05
    • 2020-01-30
    • 1970-01-01
    相关资源
    最近更新 更多