摘要: Simply change every dependency's version to *, then run npm update --save. After: Of course, this is the blunt hammer of updating dependencies. It's f 阅读全文
posted @ 2016-06-29 22:26 随风飞舞 阅读(2416) 评论(0) 推荐(0) 编辑
摘要: 安装Mongodb node js module, 发现标题上的错误。主要原因是mongodb依赖的bson需要c++编译。Node-gyp 被用来编译native的模块,而Node-gyp依赖于pathon 和C++编译器来做编译。所以解决步骤如下 npm install -g node-gyp 阅读全文
posted @ 2016-06-29 21:41 随风飞舞 阅读(266) 评论(0) 推荐(0) 编辑