0
我也跟着上Getting Started with Node.js这个优秀的教程,但得到运行的最后一个命令gcloud preview app deploy .
如果出现以下错误:gcloud部署失败,“无法启用API”错误
/Users/me/Google Drive/appengine-nodejs-quickstart> gcloud preview app deploy . Updating module [default] from file [/Users/me/Google Drive/appengine-nodejs-quickstart/app.yaml] 08:51 PM Host: appengine.google.com Error 400: --- begin server output --- Failed Project Preparation (app_id='s~foo-bar-123'). Failed to enable APIs. --- end server output --- ERROR: (gcloud.preview.app.deploy) Command failed with error code [1]
我能够运行的应用程序在本地就好了使用gcloud preview app run .
。我检查了一下,我确实为项目启用了Billing,并启用了一些默认的API。下面是从docker version
的结果,如果有帮助:
Client version: 1.3.2 Client API version: 1.15 Go version (client): go1.3.3 Git commit (client): 39fa2fa OS/Arch (client): darwin/amd64
任何想法可能是什么问题?