9

I am using Parse.com CloudCode to create some custom functionality for an iOS app.

To deploy a CloudCode app you use:

terminal% parse deploy

Everything was working fine and I was able to upload my cloud code to the backend but suddenly it stopped working and I absolutely don't know why. I am getting this response:

requested resource was not found

EDIT: The main.js is there, that is the file that has the changes. I tried to delete and recreate the app. The config is also correct. I restarted my computer, reset the connection, but still getting that response. Here is the full Terminal response after running % parse deploy:

% parse deploy
Uploading source files
Uploading recent changes to scripts...
The following files will be uploaded:
/path/to/main.js
Deploy failed. Retrying deploy...

Uploading source files
Uploading recent changes to scripts...
The following files will be uploaded:
/path/to/main.js
Deploy failed. Retrying deploy...

Uploading source files
Uploading recent changes to scripts...
The following files will be uploaded:
/path/to/main.js
Deploy failed. Retrying deploy...

Uploading source files
Uploading recent changes to scripts...
The following files will be uploaded:
/path/to/main.js
Deploy failed. Retrying deploy...

Uploading source files
Uploading recent changes to scripts...
The following files will be uploaded:
/path/to/main.js
requested resource was not found

Did anybody have the same or similar problem? If yes, what steps helped to resolve this issue?

Thanks in advance.

cashmash
  • 425
  • 4
  • 10
  • The same happens for me too.. – 55597 Jun 29 '15 at 18:37
  • Me too - using parse cli version: 2.1.1 – Taylorsuk Jun 29 '15 at 19:07
  • 8
    I'm voting to close this question as off-topic because it is a Parse.com customer service issue. See their website: https://status.parse.com/incidents/m0bl3rn1p4pm – animuson Jun 29 '15 at 19:19
  • 1
    If you need to deploy now, I figured it out. Download [Parse CLI 2.1.0](https://parse.com/downloads/cloud_code/cli/parse-osx/2.1.0) Then run `chmod 777 ~/Downloads/parse-osx-2.1.0` Then edit your host file: `sudo nano /etc/hosts` Add `127.0.0.1 parse.com` to the host file, ^O, then ^X Navigate to your project directory, and run `~/Downloads/parse-osx-2.1.0 deploy` Now remove parse.com from your host file. The reason for the host file thing is that the Parse CLI auto updates it self on every command, and this prevents that. – Sam Schooler Jun 29 '15 at 19:35

2 Answers2

0

The newly released update has fixed this problem for me. You can either update using parse udpate or use curl curl -s https://www.parse.com/downloads/cloud_code/installer.sh | sudo /bin/bash

suntzu
  • 65
  • 3
  • 13
0

I´m using it on JavaScript and just spamming "parse deploy" till the main.js is update do the work.

Is not nice, but it works :)

Vorenus
  • 65
  • 6