Can't run server
See original GitHub issueHello, 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:
- Created 8 years ago
- Comments:7 (3 by maintainers)
Top 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 >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
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:About the other error (
Error: Module did not self-register
), I have no idea. I’m actually facing that myself as well.Please use Docker version or precompiled tar.gz version.
Closing issue.