gofireflyio / aiac

Artificial Intelligence Infrastructure-as-Code Generator.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`go install` command doesn't work...

wtanksleyjr opened this issue · comments

The readme says to run go install github.com/gofireflyio/aiac/v2, but that produces an error:

go install: version is required when current directory is not in a module
        Try 'go install github.com/gofireflyio/aiac/v2@latest' to install the latest version

Attempting the suggested command produces a lot of output (I don't see any errors, looks like warnings) and doesn't add a binary to my $GOBIN folder.

OK, let me correct my mistake: install github.com/gofireflyio/aiac/v2@latest does work. So adding that "@latest" should be the only change needed to fix this. (My basic error -- I had too old of a go version, I think you need go 1.19 or later.)

resolved at #27

Thank you @wtanksleyjr