我刚刚在云代码命令行上设置了一个新应用程序,但是在尝试部署时出现 python 错误:
$ parse deploy "Development"
Uploading source files
Finished uploading files
Traceback (most recent call last):
File "c:\Python27\lib\runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "c:\Python27\lib\runpy.py", line 72, in _run_code
exec code in run_globals
File "C:\Program Files (x86)\Git\local\bin\parse\__main__.py", line 4, in <module>
File "C:\Program Files (x86)\Git\local\bin\parse\main.py", line 369, in main
File "C:\Program Files (x86)\Git\local\bin\parse\main.py", line 153, in handle_deploy
File "C:\Program Files (x86)\Git\local\bin\parse\parse.py", line 139, in deploy
File "c:\Python27\lib\json\__init__.py", line 326, in loads
return _default_decoder.decode(s)
File "c:\Python27\lib\json\decoder.py", line 366, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "c:\Python27\lib\json\decoder.py", line 384, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
出了什么问题?
我还尝试在我的系统上设置一个新的 cloudcode 项目,只是指向这个“开发”应用程序,但得到相同的 python 错误。
我之前已经成功部署到同一个帐户上的不同应用程序。