Install cloud code syntax on yosemite

I previously installed cloud code tools on mac before upgrading to Yosemite. Now when installing with the following command

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

which I found in the most recent documentation on the analysis site, I am getting the following error.

/ bin / bash: line 1: html: no such file or directory / bin / bash: line 2: syntax error near unexpected token <' 'bin/bash: line 2:

301 Moved permanently

I also just typed " https://www.parse.com/downloads/cloud_code/installer.sh " into the browser and ran the shell script. It states that it installs and creates a directory in / usr / local / bin / and contains a "parse" file without an extension.

When I view the file in VI, I see the following text.

I previously installed cloud code tools on mac before upgrading to Yosemite. Now when installing with the following command

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

which I found in the most recent documentation on the analysis site, I am getting the following error.

/ bin / bash: line 1: html: no such file or directory / bin / bash: line 2: syntax error near unexpected token <' 'bin/bash: line 2:

301 Moved permanently

I also just typed " https://www.parse.com/downloads/cloud_code/installer.sh " into the browser and ran the shell script. It states that it installs and creates a directory in / usr / local / bin / and contains a "parse" file without an extension.

When I view the file in VI, I see the following text.

<html>
<head><title>301 Moved Permanently</title></head>
<body bgcolor="white">
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx/1.6.0</center>
</body>
</html>

      

Obviously I am doing something wrong here ... or could it be that something has actually been moved and the documentation just hasn't been updated?

+3


source to share


1 answer


I had the same problem (OS X 10.9.5). So it is not OS related.

But I found out that you can do a manual installation.

First download the install.sh file using your web browser. Then check the file by right clicking it and check the file information or open it with a text editor.

In the file you can see that it downloads the parsing binary: https://www.parse.com/downloads/cloud_code/parse

Download this file.

Launch terminal and navigate to where you downloaded the file.



Enter:

mv parse / usr / local / bin / parse

chmod 755 / usr / local / bin / parse

Check that it works.

Works for me! :-)

+12


source







All Articles