These are chat archives for systemaccounting/mxfactorial

6th
Aug 2016
Mike Klishevich
@klishevich
Aug 06 2016 16:21
Hi, I am trying to install mxfactorial locally on OS X Yosemite, and got error
../node_modules/nan/nan.h:607:20: error: no type named 'GCPrologueCallback' in 'v8::Isolate' v8::Isolate::GCPrologueCallback callback) { ~~~~~~~~~~~~~^ 4 errors generated. make: *** [Release/obj.target/kerberos/lib/kerberos.o] Error 1 gyp ERR! build error gyp ERR! stack Error:makefailed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23) gyp ERR! stack at emitTwo (events.js:106:13) gyp ERR! stack at ChildProcess.emit (events.js:191:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:204:12) gyp ERR! System Darwin 14.5.0
Max Funk
@mxfactorial
Aug 06 2016 16:32
This is after you completed the bullet points listed in Step 4 of https://docs.google.com/document/d/1UGklz7LwzES3t6i5IZrnt-ZwLeEFaeWhqaocFE3C9QE/edit?usp=sharing ?
apt-get is linux, not mac
Okay, will help research solution.
Mike Klishevich
@klishevich
Aug 06 2016 17:58
@mxfactorial thanks I launched the project locally, It works but in console I see error http://localhost:8080/socket.io/?EIO=3&transport=polling&t=LPX03JO
And what about database, should I create some local db?
Mike Klishevich
@klishevich
Aug 06 2016 18:13
And when save changed email in Account Setting, I get error Request to /account/email failed with status code 404.
Max Funk
@mxfactorial
Aug 06 2016 18:58
Firebase doesn't supply an emulator for local development. If you wish to add a database to your fork, create your own Firebase credentials (https://firebase.google.com/docs/server/setup#add_firebase_to_your_app), change the configuration lines (https://github.com/systemaccounting/mxfactorial/blob/master/config.js#L48-L49), then deploy for free (https://firebase.google.com/docs/hosting/deploying#deploying-your-site). Once you have your own database, try the request again.