Cannot start main.js : "Cannot find module '../build/Release/bson'"
See original GitHub issueWhen I try to install Wekan from sources, I get the following error:
{ Error: Cannot find module '../build/Release/bson'
at Function.Module._resolveFilename (module.js:455:15)
at Function.Module._load (module.js:403:25)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/web/wekan/.build/bundle/programs/server/npm/node_modules/meteor/cfs_gridfs/node_modules/mongodb/node_modules/bson/ext/index.js:15:10)
at Module._compile (module.js:556:32)
at Object.Module._extensions..js (module.js:565:10)
at Module.load (module.js:473:32)
at Module.Mp.load (/web/wekan/.build/bundle/programs/server/npm/node_modules/meteor/babel-compiler/node_modules/reify/node/runtime.js:16:23)
at tryModuleLoad (module.js:432:12) code: 'MODULE_NOT_FOUND' }
js-bson: Failed to load c++ bson extension, using pure JS version
But the app does not quit, it continues running.
I re-installed meteor, node and npm. Ubuntu 14.04, Node = v6.4.0, NPM = 3.10.3
When opening http://IP:PORT I see the following errors in the console:
536ded9….js?meteor_js_resource=true:7 Uncaught Error: Cannot find module 'xss'
536ded9….js?meteor_js_resource=true:184 There is no route for the path: /
536ded9….js?meteor_js_resource=true:227 Uncaught TypeError: Cannot read property 'toLowerCase' of null
536ded9….js?meteor_js_resource=true:306 Uncaught ReferenceError: Boards is not definede
I also re-installed xss with meteor npm install xss
but still does not work.
And when I do an nginx redirect from sub.domain.com to localhost:PORT it does not find the JS file and the CSS is empty. But I do not know if this is related to my issue.
Anyone experienced a similar issue?
Thanks!
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
158 - Stack Overflow
Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' } js-bson: Failed to load c++ bson extension, using pure JS version · Ask Question. Asked 7 ......
Read more >Issues - GitHub
Receiving the following error message: { [Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' } js-bson: Failed to ...
Read more >Node.js Driver - MongoDB Jira
[Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' }. js-bson: Failed to load c++ bson extension, using pure JS ...
Read more >Google Groups
After that my node-red crashed with a memory overflow and did not start. Here the log: Node-red [30862]: {[ERROR: Cannot find module '.....
Read more >Description - SiteKiosk
Hello Support. I check the nodelog file and found there is an error there - "Cannot find module ../build/Release/bson"
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The packages is called
fibers
but notnode-fiber
.What command did you run? Did you follow the documentation: https://github.com/wekan/wekan/wiki/Install-and-Update#install-manually-from-source?
The current version is not compatible with node 6.x. See #634.