owasp-amass / amass

In-depth attack surface mapping and asset discovery
https://owasp.org/www-project-amass/
Other
11.78k stars 1.86k forks source link

Cannot install with go #922

Closed cosad3s closed 1 year ago

cosad3s commented 1 year ago

Maybe also related to https://github.com/owasp-amass/amass/issues/919

The following command:

go install -v github.com/OWASP/Amass/v3/...@master

Gives the following output:

go: downloading github.com/OWASP/Amass/v3 v3.23.1
go: downloading github.com/OWASP/Amass v1.5.3-0.20190925044303-702376c79403
go: github.com/OWASP/Amass/v3/...@master: github.com/OWASP/Amass/v3@v3.23.1: parsing go.mod:
        module declares its path as: github.com/owasp-amass/amass/v3
                but was required as: github.com/OWASP/Amass/v3
The command '/bin/sh -c go install -v github.com/OWASP/Amass/v3/...@master' returned a non-zero code: 1

Tested with fresh Go installation in an alpine container.

cosad3s commented 1 year ago

Ok, that is fine. I just noticed that there were a migration from "OWASP" to "owasp-amass". That's why my build were failing.

vay3t commented 1 year ago

Fix

go install github.com/owasp-amass/amass/v3/cmd/amass@latest