今天发布项目时,在安装依赖步骤时,提示如下错误,请核对一下是否leancload平台的问题:

部署失败:The command '/bin/sh -c chown leanengine:leanengine . && su leanengine -c 'npm install --production --registry=http://registry.npm.taobao.org --disturl=http://npm.taobao.org/dist' &&
su leanengine -c 'npm list --depth 0'' returned a non-zero code: 1:

安装依赖的时候连接被重置。重试之后成功了吗?

重试几次后成功了,多谢!

看现象是下载依赖的时候撞墙了,如果经常出现这个问题的话,请检查一下你的依赖中是不是有指向 git 的依赖。