当我想把我的Go应用程序部署到app,我发现我必须安装应用程序引擎-go。它甚至说安装在一个新的窗口,没有窗口弹出。
https://github.com/ChihchengHsieh/ProblemsScreenShot/blob/master/image-2.png
C:\go-work\src\orderFunc>gcloud app deploy
The component [app-engine-go] is required for staging this
application.
Restarting command:
$ gcloud components install app-engine-go
Installing component in a new window.
Please re-run this command when installation is complete.
$ gcloud app deploy当我运行命令gcloud components install app-engine-go和gcloud components update时,它显示:
https://github.com/ChihchengHsieh/ProblemsScreenShot/blob/master/image.png
C:\go-work\src\orderFunc>gcloud components install app-engine-go
Restarting command:
$ gcloud components install app-engine-go
C:\go-work\src\orderFunc>gcloud components update
Restarting command:
$ gcloud components update
C:\go-work\src\orderFunc>gcloud components install app-engine-go
Restarting command:
$ gcloud components install app-engine-go我已经尝试过重新安装google,但是它是一样的。
我希望它能显示一些安装过程。
发布于 2019-09-17 09:22:19
我试图为.NET Google应用程序部署一个快速启动程序,但遇到了同样的问题。我的问题是,我需要执行$ gcloud components install beta才能部署我的GAE .NET应用程序。我和你的行为是一样的。PowerShell会打印
Restarting command:
$ gcloud components install beta但实际上什么都没发生。在运行命令的同一窗口中,没有弹出窗口或安装进度。另外,用于安装或更新组件的其他命令也不起作用。我只能用$ gcloud components list列出它们,但不能安装或更新其中的任何一个。
溶液
我注意到,如果您以管理权限运行PowerShell,它将在C:\Windows\system32目录中打开一个窗口。如果在那里执行命令,则会弹出另一个窗口,并继续安装或更新gcloud组件。但是,如果您将cd转到不同的目录中,则行为将如本问题中提到的那样。
因此,要解决这个问题:
$ C:\Windows\system32,否则转到步骤3$ gcloud components update或gcloud components install beta等。https://stackoverflow.com/questions/57024587
复制相似问题