Error: Module did not self-register.
2015-04-09 14:12
281 查看
升级node之后,运行项目时mongodb驱动报错:
[Error: Module did not self-register.]
js-bson: Failed to load c++ bson extension, using pure JS version
造成这个问题的原因是node升级后C/C++模块没有重新编译。
npm rebuild mongodb
或
重装模块:npm rm XX && npm install XX
[Error: Module did not self-register.]
js-bson: Failed to load c++ bson extension, using pure JS version
造成这个问题的原因是node升级后C/C++模块没有重新编译。
npm rebuild mongodb
或
重装模块:npm rm XX && npm install XX
相关文章推荐
- Python包导入(TypeError: 'module' object is not callable),及一定要记住Python成员函数第一个参数值是self。
- nodejs Module did not self-register
- Error: [$injector:nomod] Module 'dayApp' is not available!
- 解决pyinstaller 打包后运行exe程序出现的"ModuleNotFindError"
- jsdoc3初次使用的遇到的一个错误:Error: Module jsdoc.js not found.
- insmod: ERROR: could not insert module module.ko: Invalid parameters
- Microsoft LiveMeeting: Error – “The specified module could not be found”
- python读取csv文件是报错_csv.Error: iterator should return strings, not bytes (did you open the file in text
- ERROR--Dmaven.multiModuleProjectDirectory system propery is not set
- Anaconda下import caffe出现错误TypeError: 'module' object is not callable
- 转: ERROR: modinfo: could not find module *
- grunt error $injector module is not available
- 【框架】Error:java: Annotation processing is not supported for module cycles.循环依赖
- ImportError: dynamic module does not define module export function (PyInit_cv_bridge_boost)
- Python 的PIL,可以解决ImportError The _imagingft C module is not installed
- 编译caffe的Python借口,提示:ImportError: dynamic module does not define module export function (PyInit__caffe)
- Could not start the service on local computer. Error 1053: the service did not respond to the start or control request i
- python import 包问题:TypeError: 'module' object is not callable
- Unable to parse template "Annotation" Error message: This template did not produce a Java class or a
- 用pil产生验证码出现:ImportError: The _imagingft C module is not installed