Goland编译报错:go: creating work dir: mkdir C:\WINDOWS\go-build3xxxx: Access is denied.

使用命令行编译确保go 环境正常

点击编辑器绿色三角旁的edit configurations ,run kind 修改为file 不选package