简体   繁体   English

使用Google Cloud Platform部署时出错

[英]Error while deploy with Google Cloud Platform

I tried to build a project with GCE (Google cloud engine) and I'm having a few problems... 我尝试使用GCE(Google云引擎)构建项目,但遇到了一些问题...

I followed their orders step by step but every time i bump into the same problem. 我一步一步地遵循他们的命令,但是每次遇到同样的问题时,我都会这样做。

I used this guide: https://cloud.google.com/nodejs/getting-started/hello-world 我使用了本指南: https : //cloud.google.com/nodejs/getting-started/hello-world

Every thing is fine until the first step of GCE, when i need to "Deploy the app to Google Cloud Platform", 一切顺利,直到GCE第一步,当我需要“将应用程序部署到Google Cloud Platform”时,

I run the command "gcloud preview app deploy", it ask me to press "Y" and after few secondes it writes: " Copying certificates for secure access. You may be prompted to create an SSH keypair." 我运行命令“ gcloud Preview app deploy”,它要求我按“ Y”,几秒钟后它会写:“复制证书以进行安全访问。系统可能会提示您创建SSH密钥对。” and get stuck in this step.... 并陷入这一步。

I copied the proccess: 我复制了过程:

>gcloud preview app deploy
You are about to deploy the following modules:
 - **Project-ID**/default (from [D:\User\Downloads\nodejs-getting-started\1-hello-world\app.yaml])
 Deployed URL: []

Do you want to continue (Y/n)?  Y

Beginning deployment...
If this is your first deployment, this may take a while...done.

Verifying that Managed VMs are enabled and ready.
Provisioning remote build service.
Copying certificates for secure access. You may be prompted to create an SSH keypair.

I tried to press enter a few times but it returns: 我试图按回车几次,但返回:

ERROR: (gcloud.preview.app.deploy) Unable to copy certificates.

Any help would be appreciated. 任何帮助,将不胜感激。 Thanks! 谢谢!

Google Cloud SDK 97.0.0 fixed the problem, they had a little bug. Google Cloud SDK 97.0.0解决了该问题,但存在一个小错误。

Thank you all! 谢谢你们!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在Google Cloud Platform上部署MEAN.JS - Deploy MEAN.JS on Google Cloud Platform 如何在谷歌云平台上部署strapi? - How to deploy strapi on google cloud platform? 我正在尝试将 Node.js 应用程序部署到 Google Cloud Platform,但在使用 MongoDB 时遇到错误 - I'm trying to deploy Node.js app to Google Cloud Platform but catching error with MongoDB 使用谷歌云时平台异常 function - Platform exception while using google cloud function 是否可以在Google Cloud Platform中部署NodeJs REST API? - Is it possible to deploy NodeJs REST API in Google Cloud Platform? 如何在Google Cloud Platform中部署我现有的NodeJS应用程序 - How to deploy my existing NodeJS application in Google Cloud Platform 为什么我的 function 没有部署到谷歌云平台? - Why doesn't my function deploy to Google Cloud Platform? 如何使用Kubernetes和Gitlab CI / CD在Google Cloud Platform中部署登台? - How to deploy staging in Google Cloud Platform with Kubernetes and Gitlab CI/CD? 部署到Google Cloud Platform Flex Env​​不包含目录? - deploy to google cloud platform flex env does not include directories? 在 Google Cloud Platform 上的 Google Cloud Function 中执行 Python 脚本时出错 - Error on executing Python script in Google Cloud Function on Google Cloud Platform
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM