如何解决使用纱线时 Oryx 构建失败
我有一个静态的 azure web 应用程序,它由一个使用 aurelia 框架的 SPA 构建和一个使用 .net 3.1 的 api 构建组成。使用纱线包管理器。 Build 运行正常,直到几天前我发现在执行推送时,github 上的 CI 开始失败并出现错误,表明 yarn 包管理器无法从 git 获取依赖项:
[3/5] Fetching packages...
error Command failed.
Exit code: 128
Command: git
Arguments: ls-remote --tags --heads ssh://git@github.com/requirejs/text.git
Directory: /github/workspace
Output:
Host key verification failed.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
---End of Oryx build logs---
Oryx has failed to build the solution.
我找不到与此问题直接相关的信息。 所以,我可以通过改用 npm 包管理器来解决这个问题,现在它可以正常工作了。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。