Parse.com cloud code downloading binary
Asked Answered
E

2

14

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?

Emulsion answered 1/6, 2015 at 22:16 Comment(0)
G
29

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

Greensboro answered 1/6, 2015 at 23:6 Comment(3)
Thanks Hector - accepted. Just a thought, would this not be better as a bug so that people can find it easier? I tend to navigate towards the help docs, then the bug reports if something isn't working as expected. Going through the Parse bug report didn't show anything - maybe it should?Emulsion
Here's a bug that someone submitted earlier: developers.facebook.com/bugs/469535449870644Bennink
The Parse CLI continues to hang when downloading the latest version. Quite inconvenient!Cyndi
E
10

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

Emulsion answered 1/6, 2015 at 22:57 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.