Azure 本地 git - 部署 Node.js 应用程序时出现问题

Azure local git - Problem deploying Node.js app

我正在尝试从本地 git 存储库将 Node.js(具体为 Strapi v.4)应用部署到 Azure 应用服务。但是,当我从本地存储库 运行 git push azure master 时收到以下消息 remote: info There appears to be trouble with your network connection. Retrying...

有关更详细的输出,请参见下文:

remote: yarn install v1.22.10
remote: [1/5] Validating package.json...
remote: [2/5] Resolving packages...
remote: [3/5] Fetching packages...
remote: ..........................
remote: info There appears to be trouble with your network connection. Retrying...
remote: info There appears to be trouble with your network connection. Retrying...
remote: .
remote: info There appears to be trouble with your network connection. Retrying...
remote: .....
remote: info There appears to be trouble with your network connection. Retrying...
remote: ..........
remote: info There appears to be trouble with your network connection. Retrying...
remote: info There appears to be trouble with your network connection. Retrying...
remote: ..........
remote: info There appears to be trouble with your network connection. Retrying...

尝试从公司内部网络推送 repo 是否会导致此错误?这 让我如此?

我通过删除 node_modules 文件夹和 .lock 文件使它正常工作。