How to fix VS COde "fatal error: runtime: bsdthread_register error" on MacOS Monterey

Viewed 9282

I'm getting "fatal error: runtime: bsdthread_register error" error on VS code when i try to run a command on terminal.

This used work fine on Big sur and older versions.

Is there a way to get this fixed on Monterey?

3 Answers

This might not be the issue of vscode. If you open your shell terminal, the error might still be there. Try changing your default terminal to zsh instead of bash. You can follow this to see how to change the vscode default terminal.

The same situation happens when I use goimports command after upgrading go version to 1.17. Try to upgrade your go tools, Good Luck!

Related