New install, nothing displays in browser

Skip to first unread message

Feb 7, 2017, 9:17:16 PM2/7/17
to DemocracyOS/app
New install on Debian8

If I "make" it appears to compile and run with this as the last line appearing in the console.

democracyos:root DemocracyOS server running... +1ms

As soon as I access http//localhost:3000/ my browser eternally loads but displays nothing and this message appears on the console.

democracyos:db-api:forum Searching for forum with name undefined +1ms

If I try http://localhost:3000/api this appears in the browser.


Here is the top of my development.json

"locale": "en",
"protocol": "http",
"warnHTTP": true,
"host": "localhost",
"publicPort": 3000,
"mongoUrl": "mongodb://localhost/DemocracyOS-dev",
"mongoUsersUrl": "",
"jwtSecret": "Generate a secret token and paste it here.",
"corsDomains": [],
"signinUrl": "",
"signupUrl": "",
"settingsUrl": "",
"staff": [""],
"allowEmailAliases": true,
"facebookSignin": false,
"publicEmails": false,
"auth": {
"basic": {
"username": "admin",
"password": ""

Any ideas would be appreciated.

Feb 7, 2017, 9:20:05 PM2/7/17
to DemocracyOS/app,
Forgot, I do get these errors during "make"

> can...@1.6.2 install /home/dan/Downloads/DemocracyOS/app/node_modules/canvas
> node-gyp rebuild

Package cairo was not found in the pkg-config search path.
Perhaps you should add the directory containing `cairo.pc'
to the PKG_CONFIG_PATH environment variable
No package 'cairo' found
gyp: Call to './util/ freetype' returned exit status 0 while in binding.gyp. while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:308:16)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:192:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Linux 3.16.0-4-amd64
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/dan/Downloads/DemocracyOS/app/node_modules/canvas
gyp ERR! node -v v7.5.0
gyp ERR! node-gyp -v v3.5.0
gyp ERR! not ok

Dan Howell

Feb 7, 2017, 9:23:43 PM2/7/17
to DemocracyOS/app,

And later, this: 

   democracyos:translations   - +0ms
{ Error: Cannot find module '../build/Release/bson'
    at Function.Module._resolveFilename (module.js:470:15)
    at Function.Module._load (module.js:418:25)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/home/dan/Downloads/DemocracyOS/app/node_modules/bson/ext/index.js:15:10)
    at Module._compile (module.js:571:32)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3) code: 'MODULE_NOT_FOUND' }
js-bson: Failed to load c++ bson extension, using pure JS version

Thomas Desmoulins

Feb 23, 2017, 8:41:19 AM2/23/17
to DemocracyOS/app

We had the same problem. We have replaced node V7 by node v5 and now it ok.

Guido Vilariño

Feb 25, 2017, 4:53:13 PM2/25/17
to Thomas Desmoulins, DemocracyOS/app
We support up to the latest LTS node version, not later.

We also don't provide support for specific OSs. We recommend you run on docker for removing environment constraints/issues. If you chose to run natively, you'll have to sort those issues yourself.

You received this message because you are subscribed to the Google Groups "DemocracyOS/app" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
For more options, visit

Reply all
Reply to author
0 new messages