question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot start main.js : "Cannot find module '../build/Release/bson'"

See original GitHub issue

When 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:closed
  • Created 7 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
AlexanderScommented, Aug 18, 2016

The packages is called fibers but not node-fiber.

What command did you run? Did you follow the documentation: https://github.com/wekan/wekan/wiki/Install-and-Update#install-manually-from-source?

1reaction
AlexanderScommented, Aug 18, 2016

The current version is not compatible with node 6.x. See #634.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found