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.
{"app":"democracyos","version":"1.5.2","apiUrl":"/api"}
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": ["us...@user.com"],
"allowEmailAliases": true,
"facebookSignin": false,
"publicEmails": false,
"auth": {
"basic": {
"username": "admin",
"password": ""
},
Any ideas would be appreciated.
> 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/has_lib.sh 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
And later, this:
--
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 democracyos-app+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.