2015-11-30 100 views
1

我使用尝试的NodeJS的gcloud免费试用,我gettng的同时部署gcloud着部署应用程序的NodeJS

Updating module [default]...failed. 
ERROR: (gcloud.preview.app.deploy) Server responded with code [400]: 
Bad Request Unexpected HTTP status 400. 
The version field in the app.yaml file must match the version provided as a GET parameter. 

我检查一切错误运行良好并配置好。

请注意,我有另一个应用程序已经运行在gcloud上。

感谢

+0

感谢您报告此,它看起来像一个bug。要确认,你的'app.yaml'中没有'version'字段,对吧?你可以通过降级到像0.9.84这样的版本来解决这个问题:'gcloud components update --version = 0.9.84'(这个版本是已知的,0.9.88之前的版本可能仍然有效)。 –

+0

是的,我没有,Gcloud nodejs教程提供的版本参数只有使用终端传递它作为参数! 感谢您的帮助 –

+0

使用0.9.84给我这个错误 更新模块[默认] ...失败。 错误:(gcloud.preview.app.deploy)服务器以代码[500]响应: 内部服务器错误。 服务器错误(500) 发生服务器错误。 –

回答

1

感谢@萨克利 - 纽曼

设置

use_appengine_api true 

解决它