Openframe-APIServer icon indicating copy to clipboard operation
Openframe-APIServer copied to clipboard

Local development is not starting

Open esteban-aristizabal opened this issue 9 years ago • 5 comments

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

esteban-aristizabal avatar Feb 14 '17 21:02 esteban-aristizabal

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?

jmwohl avatar Feb 15 '17 04:02 jmwohl

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.

esteban-aristizabal avatar Feb 15 '17 15:02 esteban-aristizabal

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

jmwohl avatar Feb 15 '17 18:02 jmwohl

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

esteban-aristizabal avatar Feb 15 '17 18:02 esteban-aristizabal

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.

jmwohl avatar Feb 17 '17 20:02 jmwohl