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.

Hello, i am facing one error when trying to run the server at the last step, can share some light on what did gone wrong?

bacon@ubuntu:~/wekan/.build/bundle$ node main.js
[Error: Module did not self-register.]
js-bson: Failed to load c++ bson extension, using pure JS version
/home/bacon/wekan/.build/bundle/programs/server/node_modules/fibers/future.js:245
                                                throw(ex);
                                                      ^
Error: Module did not self-register.
    at Error (native)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at bindings (/home/bacon/wekan/.build/bundle/programs/server/npm/npm-bcrypt/node_modules/bcrypt/node_modules/bindings/bindings.js:74:15)
    at Object.<anonymous> (/home/bacon/wekan/.build/bundle/programs/server/npm/npm-bcrypt/node_modules/bcrypt/bcrypt.js:3:35)
    at Module._compile (module.js:460:26)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at Object.Npm.require (/home/bacon/wekan/.build/bundle/programs/server/boot.js:162:18)
    at packages/npm-bcrypt/packages/npm-bcrypt.js:9:1
    at packages/npm-bcrypt/packages/npm-bcrypt.js:13:1
bacon@ubuntu:~/wekan/.build/bundle$ sudo node main.js
[Error: Module did not self-register.]
js-bson: Failed to load c++ bson extension, using pure JS version
/home/bacon/wekan/.build/bundle/programs/server/node_modules/fibers/future.js:245
                                                throw(ex);
                                                      ^
Error: MONGO_URL must be set in environment
    at Object.<anonymous> (packages/mongo/remote_collection_driver.js:36:1)
    at Object.defaultRemoteCollectionDriver (packages/underscore/underscore.js:750:1)
    at new Mongo.Collection (packages/mongo/collection.js:98:1)
    at packages/idmontie_migrations/packages/idmontie_migrations.js:32:1
    at packages/idmontie_migrations/packages/idmontie_migrations.js:148:1
    at /home/bacon/wekan/.build/bundle/programs/server/packages/idmontie_migrations.js:165:4
    at /home/bacon/wekan/.build/bundle/programs/server/packages/idmontie_migrations.js:172:3
    at /home/bacon/wekan/.build/bundle/programs/server/boot.js:242:10
    at Array.forEach (native)
    at Function._.each._.forEach (/home/bacon/wekan/.build/bundle/programs/server/node_modules/underscore/underscore.js:79:11)

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
kramer65commented, Oct 13, 2016

You can solve at least one of the errors (Error: MONGO_URL must be set in environment) by following the tip in the error. You can set the MONGO_URL as follows:

export MONGO_URL=mongodb://localhost:27017/wekan

About the other error (Error: Module did not self-register), I have no idea. I’m actually facing that myself as well.

0reactions
xet7commented, Feb 19, 2017

Please use Docker version or precompiled tar.gz version.

Closing issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fix: Minecraft server download doesn't open - Windows Report
Update Java; Download Minecraft Server from Official Sources; Edit the EULA.txt; Set up a Minecraft Server Batch File; Run the Minecraft Server.
Read more >
Unable to Start the Server Service - Microsoft Support
When you attempt to start the Server service from the Services tool in Control Panel, you may receive the following error message: ·...
Read more >
Why Won't My Minecraft Server Start? - Apex Hosting
If your Minecraft server will not start, this can be the result of a number of causes. In most cases, it can be...
Read more >
server.jar won't open : r/Minecraft - Reddit
so my friend and I play multiplayer on a server that I made. We haven't played in a while so i downloaded the...
Read more >
Minecraft server exe won't open - Support - Minecraft Forum
If you double click the run.bat file (this is in the folder where youre server is) it will open the server on *.*.*:25565...
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