在NodeJS 0.10.8中安装Mongoose [英] Installing Mongoose in NodeJS 0.10.8

查看:175
本文介绍了在NodeJS 0.10.8中安装Mongoose的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Ubuntu机器上安装了节点0.10.8.

I have node 0.10.8 installed in Ubuntu machine.

我试图安装猫鼬:

npm install mongoose

但是在终端中收到以下消息:

But got the following message in terminal:

> kerberos@0.0.2 install /___/node_modules/mongoose/node_modules/mongodb/node_modules/kerberos
> (node-gyp rebuild 2> builderror.log) || (exit 0)

> bson@0.1.8 install /___/node_modules/mongoose/node_modules/mongodb/node_modules/bson
> (node-gyp rebuild 2> builderror.log) || (exit 0)

这是什么错误?

推荐答案

这实际上不是错误.如果检查bson和kerberos模块文件夹中的builderror.log文件,您会看到日志为空.尝试假脱机MongoDB服务器实例并启动Node.JS应用.如果您还有其他错误反馈,请作为编辑发表,我将添加更多信息.

This is not actually an error. If you check the builderror.log files in the bson and kerberos module folders, you'll see that the logs are empty. Try spooling up your MongoDB server instance and launch your Node.JS app. If you have any more error feedback, please post as an edit and I will add more information.

我有同样的问题. 此处是我的StackOverflow问题的链接.

这篇关于在NodeJS 0.10.8中安装Mongoose的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆