在窗口中收到长串错误后,不知道如何让它工作。我还需要安装或做什么? (使用Windows 10)
在git bash中输入npm install后的错误:
npm WARN peerDependencies mongoskin中包含的对等依赖项mongodb@~1.4 npm WARN peerDependencies将不再自动安装,以满足npm 3+中的peerDependency npm WARN peerDependencies。您的应用程序需要明确依赖它。
kerberos@0.0.11安装C:\ Users \ Desktop \ nodeblog \ node_modules \ monk \ node_modules \ mongodb \ node_modules \ kerberos (node-gyp rebuild 2> builderror.log)|| (退出0)
我的package.json文件:
{
"name": "nodeblog",
"version": "1.0.0",
"private": true,
"scripts": {
"start": "node ./bin/www"
},
"dependencies": {
"body-parser": "1.13.x",
"connect-flash": "latest",
"cookie-parser": "1.3.x",
"debug": "~2.2.0",
"express": "4.13.x",
"express-messages": "latest",
"express-session": "latest",
"express-validator": "latest",
"jade": "1.9.x",
"moment": "latest",
"mongodb": "latest",
"monk": "latest",
"morgan": "1.5.x",
"multer": "latest",
"serve-favicon": "2.3.x"
}
}