为什么我在 'npm install ibmconfig' 上收到错误 404? #bluemix 节点 js 服务器
why do I get ERR 404 on 'npm install ibmconfig'? #bluemix nodejs server
我下载了我的 IBM bluemix nodeJS 应用程序,并尝试安装该项目的所有依赖项。出于某种原因,ibmconfig
抛出异常。但是,URL 在浏览器中运行良好。看起来 npm 注册表 exception.This 模块是 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,您会发现它不存在。我怀疑该包已被取消发布。您可能需要联系原始维护者以了解发生了什么。
查看 ibmsecurity
npm 包的 Git 文件的 package.json
日志,看起来对 ibmconfig
包的依赖已于 2015-07- 删除29.您可能需要使用 npm update ibmsecurity
更新软件包
如果您使用 ibmsecurity (0.3.x) 的测试版,您将只会看到此错误。将您的依赖项更改为使用 "latest" 或“1.0.x”,您将不会遇到此问题。
我下载了我的 IBM bluemix nodeJS 应用程序,并尝试安装该项目的所有依赖项。出于某种原因,ibmconfig
抛出异常。但是,URL 在浏览器中运行良好。看起来 npm 注册表 exception.This 模块是 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,您会发现它不存在。我怀疑该包已被取消发布。您可能需要联系原始维护者以了解发生了什么。
查看 ibmsecurity
npm 包的 Git 文件的 package.json
日志,看起来对 ibmconfig
包的依赖已于 2015-07- 删除29.您可能需要使用 npm update ibmsecurity
如果您使用 ibmsecurity (0.3.x) 的测试版,您将只会看到此错误。将您的依赖项更改为使用 "latest" 或“1.0.x”,您将不会遇到此问题。