【发布时间】:2021-11-08 09:36:04
【问题描述】:
我想运行我的 Node / Ionic 项目的 CI 部分,我昨天刚刚在其中添加了一个自定义电容器插件 - repo A。
这个插件位于 repo B 中。
在我的开发机器上,我将 B 添加为
npm install https://PERSONAL_ACCESS_TOKEN@github.com/ME/B.git --save
到项目 A。
package.json 现在包含
"B": "git+https://PERSONAL_ACCESS_TOKEN@github.com/ME/B.git",
我将此推送到我当前的合并请求中。 然而,CI 管道现在告诉我:
npm install
shell: /usr/bin/bash -e {0}
npm ERR! Error while executing:
npm ERR! /usr/bin/git ls-remote -h -t https://***@github.com/ME/B.git
npm ERR!
npm ERR! remote: Repository not found.
npm ERR! fatal: repository 'https://github.com/ME/B.git/' not found
npm ERR!
项目 B 是一个私人仓库。我的帐户拥有两个存储库,并且我正在使用我新创建的个人访问令牌。
我应该检查什么?我可以在本地提取 repo,但是我也使用我的 git+ssh env 凭据进行了设置,所以它可能正因为如此......
【问题讨论】:
标签: node.js github ionic-framework github-actions capacitor