problem:
When vscode installs tools, the DLV tool always reports an error. The error message is LD return 1;
Solution:
I checked the GitHub of DLV and found that CGO_Enabled can be disabled to solve this problem
go env -w CGO_ENABLED="0"
Similar Posts:
- How to Solve VS Code Install Go Plug-in Error
- Error reporting when using empirical decorators in vscode
- [Solved] yarn Install Module Error:check python checking for Python executable “python2” in the PATH
- Solve the GIT commit error and bypass the code check
- Golang Read 163 & 126 Mail Error: select inbox err: SELECT Unsafe Login. Please contact [email protected] for help
- [Solved] Node.js: Python not found exception due to node-sass and node-gyp
- Problem solving SDK platform tools component is missing
- Fixed: Windows Script Host access is disabled on this machine
- Continuation line missing indentation or ignored
- How to Solve MSB8020 The build tools for v141 (Platform Toolset = ‘v141‘) cannot be found. To build using the