【问题标题】:error in Google cloud shell .customize_environment fileGoogle Cloud Shell .customize_environment 文件中的错误
【发布时间】:2021-03-06 18:20:23
【问题描述】:

当我尝试向文件 $HOME/.customize_environment 添加一个空脚本时,该文件仅包含

#!/bin/sh

没有任何其他代码,我得到错误

Your Cloud Shell session closed before the initial prompt was displayed, which can mean that there is a problem with your ~/.bashrc file or ~/.tmux.conf file.

我必须删除这个文件才能启动 shell。

【问题讨论】:

  • 我今天遇到了同样的问题,尽管我的 ~/.customize_environment~/.profile 文件到现在都运行良好(它们没有更改)。

标签: google-cloud-platform google-cloud-shell


【解决方案1】:

这两天我也遇到了登录问题(上面报同样的消息),通过重命名.customize_environment解决了这些问题

我想在他们修复它之前我没有它。

【讨论】:

  • 他们现在似乎已经修复了它,介意尝试一下并再次评论它是否有效?
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2020-01-29
  • 1970-01-01
  • 2020-11-05
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多