LoginSignup
2
0

VS CodeでFailed to find the "go" binary in either GOROOT() or PATHエラー解決

Posted at

はじめに

MacでGoの環境構築時のメモです

解決方法

Homebrew等でGoをインストールして, PATHが追加してあることを確認します.

VS Codeを一度終了させます.

VS Codeをターミナルから直接起動することで、ターミナルの環境変数を引き継ぐことができます。ターミナルで以下のコマンドを実行してVS Codeを起動してみてください。

open -a "Visual Studio Code"

これで、タイトルにあるエラーが解決できました.


Go言語を始める際の参考になれば幸いです。

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0