【问题标题】:My terminal keeps closing. What's going on?我的终端一直关闭。这是怎么回事?
【发布时间】:2022-08-07 15:10:41
【问题描述】:

问题类型:错误

每当我打开 VSCode 终端时,它会保持打开状态大约 20-30 秒,然后自动关闭。总是。自己,自动。

\"终端进程 \"C:\\WINDOWS\\System32\\cmd.exe\" 已终止,退出代码为:4294967295。\"

VS Code 版本:Code 1.67.1 (da15b6f, 2022-05-06T12:37:03.389Z) 操作系统版本:Windows_NT x64 10.0.22000 受限模式:否

我在 GitHub 上试过这个。 (https://github.com/microsoft/vscode/issues/149846)

起初,这个问题是固定的。但是 rn 不再工作了。

你能帮我吗?

    标签: reactjs react-native visual-studio-code terminal


    【解决方案1】:

    我的Visual Studio Code 也遇到了这个问题,并通过阅读在它的项目上打开的这个 Github 问题解决了这个问题:

    https://github.com/Microsoft/vscode/issues/62041

    检查您正在使用的 shell(如果是 OSX)设置为 /bin/sh 的 VSCode 设置:

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2012-03-24
      • 2011-07-06
      • 2021-01-23
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-06-19
      相关资源
      最近更新 更多