node.js应用程序无法在appengine中部署:gcloud app部署到appengine失败,缓存的基本映像和节点缓存存在问题

时间:2018-09-04 18:59:29

标签: node.js google-app-engine

伙计

我正在尝试将一个简单的node.js应用程序部署到appengine上。每次我使用gcloud deploy进行部署时,都会在日志中收到这些警告和错误。我也在node.js中使用config模块来加载一些我需要的常规环境变量。如果其他指针遇到了类似的运行时问题,是否可以找到任何指针?这是执行命令时的日志:

gcloud应用程序部署app.yaml

No cached base image found for entry
us.gcr.io/.../app-engine-build-cache/node-cache:f0sdafsadasdfsadfasfasdfasdf

Step #1 - "builder": INFO Cache miss on local cache for us.gcr.io/.../app-engine-build-cache/node-cache:f0sdafsadasdfsadfasfasdfasdf

....
later....
...
Step #1 - "builder": ERROR Error during upload of: us.gcr.io/.../app-engine-build-cache/node-cache:f0sdafsadasdfsadfasfasdfasdf

Finally my deploy fails
File upload done.
Updating service [myservice name]...failed.                                         
ERROR: (gcloud.app.deploy) Error Response: [9] Cloud build <number> status: FAILURE. Check the build log for errors: https://console.cloud.google.com/gcr/builds/<my build number>


I am using
$gcloud version
Google Cloud SDK 214.0.0
bq 2.0.34
core 2018.08.24
gsutil 4.33

$ npm --version
6.3.0

感谢任何可能出错的指针。

0 个答案:

没有答案