Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Parse.com cloud code downloading binary

I'm using Parse.com and cloud code for some server side javascript functions on my website. I usually deploy updates to cloud code through parse deploy in the mac terminal.

Today when I have tried to do this it has come up with:

Downloading binary from https://parse.com/downloads/cloud_code/cli/parse-osx/latest.

I initially left this for about an hour and then cancelled it as it didn't seem to be going anywhere. I've then tried running parse deploy twice more but it is again just sitting there and seemingly not doing anything.

This has been working fine for the past 3 months.

Any suggestions?

EDIT:

Navigating to the posted link has let me download the file (it's 6.8MB), so I possibly just need to know how to install that?

like image 366
bwash70 Avatar asked Jun 01 '15 22:06

bwash70


2 Answers

Older command line tools may not be able to update themselves to v2. You will need to reinstall them (on OS X or Linux):

curl -s https://www.parse.com/downloads/cloud_code/installer.sh | sudo /bin/bash

You can download the latest version for your platform from https://parse.com/docs/downloads

We posted about this a couple of weeks ago in the Parse Developer forums: https://groups.google.com/forum/#!topic/parse-developers/WoRnDft4qmE

like image 170
Héctor Ramos Avatar answered Nov 17 '22 19:11

Héctor Ramos


Reinstalling the command line tool seems to have fixed this issue.

curl -s https://www.parse.com/downloads/cloud_code/installer.sh | sudo /bin/bash

like image 41
bwash70 Avatar answered Nov 17 '22 18:11

bwash70