nodeJs启动的时候:Error: Cannot find module '../build/Release/bson'的解决办法
来源:互联网 发布:室内装修效果设计软件 编辑:程序博客网 时间:2024/05/19 00:51
{ [Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' }js-bson: Failed to load c++ bson extension, using pure JS version
头两行说的是没有发现bson模块。好办我们立马安装:
npm install bson
然后将E:\project\nodejs-demo\node_modules\connect-mongodb\node_modules\mongodb\node_modules\bson\ext\index.js中的bson = require('../build/Release/bson')改成bson = require('bson') ,重新运行。
0 0
- nodeJs启动的时候:Error: Cannot find module '../build/Release/bson'的解决办法
- nodeJs启动的时候:Error: Cannot find module '../build/Release/bson'的解决办法
- mongodb 报错 Error: Cannot find module '../build/Release/bson'解决办法
- mongoDB报错Cannot find module '../build/Release/bson'
- mongoDB报错Cannot find module '../build/Release/bson'
- Error: Cannot find module '../build/Release/canvas'
- Nodejs Error: Cannot find module 当前文件夹下的模块
- VS2013 Cordova Build Error - cannot find module ./lib/plugin解决办法
- nodejs express 启动报错:Error: Cannot find module 'xxx'
- window下node提示Error: Cannot find module "***"的解决办法
- [乐意黎]Nodejs采集程序抛Error: Cannot find module 'superagent' 及 Cannot find module 'superagent' 等的解决方法
- nodejs Error: Cannot find module 'cookie-session'
- Node.js文件上传的时候控制台报Error: Cannot find module 'formidable'
- Nodejs Error: Cannot find module 'unicode/category/So'
- Error: Cannot find module 'gulp-clone'问题的解决
- vuejs使用vux出错Module build failed: Error: Cannot find module 'less'
- Error: Cannot find module 'express'
- Error: Cannot find module 'express'
- javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
- Sybase管理工具RazorSQL中文乱码问题
- POJ 3505 && HDU 2341 Tower Parking(简单模拟)
- 这个世界很残酷
- session,param,cookie使用分析
- nodeJs启动的时候:Error: Cannot find module '../build/Release/bson'的解决办法
- leetcode 日经贴,Cpp code -Delete Node in a Linked List
- 2012年5月SAT香港真题解析
- Eclipse中配置Tomcat服务器
- Hibernate 学习经验之谈-(一) 初始配置
- codeforces 558 C Amr and Chemistry
- 【LintCode】 Compare Strings 比较字符串
- HDU 1754 解题报告 线段树 单点更新
- 基于JAVA的SNS系统ConcourseConnect