我下载了我的ibm bluemix nodejs应用程序,并尝试安装项目的所有依赖项。出于某种原因,ibmconfig正在引发异常。但是,在浏览器中url可以正常工作。似乎是NPM注册表异常。此模块是ibmsecurity的依赖项。
下面是package.json依赖项内容:

"dependencies": {
      "express": "4.*",
      "body-parser": "*",
      "ibmsecurity": "*",
      "twilio": "*",
      "ibmbluemix":"*",
      "ibmdata":"*"
   }

以下是404例外:
npm WARN package.json @ license should be a valid SPDX license expression
npm ERR! Darwin 14.4.0
npm ERR! argv "node" "/usr/local/bin/npm" "install" "ibmconfig"
npm ERR! node v0.12.7
npm ERR! npm  v2.11.3
npm ERR! code E404

npm ERR! 404 Registry returned 404 for GET on https://registry.npmjs.org/ibmconfig
npm ERR! 404
npm ERR! 404 'ibmconfig' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! Please include the following file with any support request:

谢谢你的帮助

最佳答案

尽管那个注册表文件仍然存在,但是如果您转到ibmconfig package page就会看到它不存在。我怀疑包裹还没有公布。您可能必须联系最初的维护人员以了解发生了什么。

07-24 18:51