0glabs / 0g-chain

The First Modular AI Chain
Apache License 2.0
26 stars 37 forks source link

Add `go mod tidy` to install script #17

Closed breakfast0x closed 1 month ago

breakfast0x commented 3 months ago

It might be worthwhile adding go mod tidy to the install script here since it kept failing for me and the error message was rather cryptic.

What fixed it for me was running go mod tidy.

Might have been because I installed go via apt-get before running the script, not realizing that it automatically installs go via snap.

ethanz0g commented 1 month ago

Hello @breakfast0x ,

I just tried go mod tidy and the content of file go.mod and go.sum didn't change. So basically that meant the modules had been tidy already.

Meanwhile this script install.sh installs go only if it's not been included in your PATH, which usually means it's not installed yet.

ethanz0g commented 1 month ago

Can't repro.