NPM 安装猫鼬时出错 - "Registry returned 404 for GET"



在我的windows机器中新安装mangoose驱动程序时抛出错误…

npm WARN package.json ravi@1.0.0 No repository field.
npm WARN package.json ravi@1.0.0 No README data
npm ERR! Windows_NT 10.0.10240
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "mongoose" "--save"
npm ERR! node v4.1.2
npm ERR! npm  v2.14.4
npm ERR! code E404
npm ERR! 404 Registry returned 404 for GET on http://registry.npmjs.org/clear/mongoose
npm ERR! 404
npm ERR! 404 'mongoose' 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 It was specified as a dependency of 'ravi'
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:
npm ERR!     C:usersravi rathoredesktopuserStorynpm-debug.log

我该怎么办?提前感谢

你所需要做的就是发出:

npm cache clean

如果你仍然得到相同的错误,请与我们分享你的文件:

package.json

相关内容

最新更新