Parse.com CloudCode部署失败 - 找不到请求的资源

时间:2015-06-29 18:29:16

标签: parse-platform cloud-code

我正在使用Parse.com CloudCode为iOS应用创建一些自定义功能。

要部署您使用的CloudCode应用程序:

terminal% parse deploy

一切正常,我能够将我的云代码上传到后端,但突然间它停止工作,我绝对不知道为什么。我收到了这个回复:

requested resource was not found

修改 main.js就在那里,即具有更改的文件。我试图删除并重新创建应用程序。配置也是正确的。我重新启动计算机,重置连接,但仍然得到了响应。以下是运行% 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

有没有人有相同或类似的问题?如果是,哪些步骤有助于解决此问题?

提前致谢。

2 个答案:

答案 0 :(得分:0)

新发布的更新已经为我解决了这个问题。您可以使用parse udpate进行更新,也可以使用curl curl -s https://www.parse.com/downloads/cloud_code/installer.sh | sudo /bin/bash

答案 1 :(得分:0)

我在JavaScript上使用它,只是发送垃圾邮件“解析部署”,直到main.js更新完成工作。

不好,但有效:)