Haskell-ghc-mod: ghc-mod failed to launch it is probably missing or misconfigured
~がいけないみたいです。
~を/User/usernameに書き換えたところ、動くようになりました。
~/.cabal/bin/ghc-mod
/Users/usename/.cabal/bin/ghc-mod
Haskell-ghc-mod: ghc-mod failed to launch it is probably missing or misconfigured Error: spawnSync ~/.cabal/bin/ghc-mod ENOENT
Haskell-ghc-mod: ~/.cabal/bin/ghc-mod lang failed with error message Error: spawn ~/.cabal/bin/ghc-mod ENOENT
Haskell-ghc-mod: ~/.cabal/bin/ghc-mod flag failed with error message Error: spawn ~/.cabal/bin/ghc-mod ENOENT