VScode进入报错code 9, signal null error

进入 Vscode 时,出现报错 Unable to resolve your shell environment: Unexpected exit code from spawned shell (code 9, signal null) ![image.png](https://cdn.jsdelivr.net/gh/eatmoreduck/picture-repository/blog/202408161008789.png =600x) 查证go 和 go env 之后发现都没问题,最后注意到 ~/.bash_profile 中有这部分,确定造成报错的行是 export NODE_OPTIONS=–openssl-legacy-provider #node export PATH="/opt/homebrew/opt/node@20/bin:$PATH" export LDFLAGS="-L/opt/homebrew/opt/node@20/lib:$LDFLAGS" export CPPFLAGS="-I/opt/homebrew/opt/node@20/include:$CPPFLAGS" export NODE_OPTIONS=--openssl-legacy-provider 使用vi编辑或者是使用其他文本编辑器打开 .bash_profile 文件 ...

August 16, 2024  · eatmoreduck
阅读全文:VScode进入报错code 9, signal null error
回到顶部
×
扫码关注
公众号二维码

公众号

个人微信二维码

个人微信