OpenframeProject / Openframe-APIServer

The Openframe API server.
GNU Affero General Public License v3.0
21 stars 7 forks source link

Local development is not starting #13

Open esteban-aristizabal opened 7 years ago

esteban-aristizabal commented 7 years ago

Hi, I tried the instructions to start the API Server for local development, but I have a bunch of errors when it's installing. Thx for the help! image

jmwohl commented 7 years ago

Hmm, interesting. I haven't seen this before, but haven't talked to anyone attempting to install on windows. Looks like the bcrypt package is failing when trying to run node-gyp rebuild. Maybe look at the dependencies for the bcrypt node package on windows?

esteban-aristizabal commented 7 years ago

I think there is a problem with the bcrypt package, what version of node, node-gyp, node-pre-gyp are you using, I tried on a mac with Node 6.9.5 installed, could you help me with these errors? thx EDIT: I updated the comment because I succesfully ran npm install with node v0.12.1 with no errors installing the last version of node-gyp.

jmwohl commented 7 years ago

Ok — can you paste the full output from the install failure here (not just a screen shot)?

esteban-aristizabal commented 7 years ago

I succesfully run npm install with node v0.12.1 with no errors. But, when I enter npm start it gives me these errors: image

jmwohl commented 7 years ago

Try running node ./bin/cli.js -p — this will attempt to execute that file (cli.js) with node directly. I haven't tested things on windows, and don't have a machine handy to do so, and won't be surprised if it doesn't work. Everything in the README / docs was done and tested on *nix.