$GOPATH/go.mod exists but should not

发布时间 2024-01-09 15:40:57作者: 飘杨......

一、概述

  开发工具:LiteIDE

  现象:运行项目报以下异常

$GOPATH/go.mod exists but should not
错误: 进程退出代码 1.

 

二、解决办法

  去掉LiteIDE开发工具中的GOPATH,然后再运行就行了(查看-->选项-->GolangPackage)