npm install 忽略自己的 ssh+git repo

npm install ignores own ssh+git repo

在我的公司,我们使用 Bitbucket 服务器,我正在开发一个作为 npm 模块的框架。我 运行 npm install git+ssh://git...,npm 将使用我的源创建一个 node_modules/_PACKAGE_NAME_ 文件夹。

当我将它添加到 package.json 和 运行 npm install 时,npm 要求我提供指纹,然后完成所有软件包的安装,但是在 node_modules 中有没有我的 git 回购包。这破坏了我的自动化工作流程,因为我必须手动单独安装这个 repo。

有关信息:我 运行 手动输入密码时必须输入密码。

有人知道吗?

这是密钥拼写错误,因此 npm 无法创建文件夹