esm.sh icon indicating copy to clipboard operation
esm.sh copied to clipboard

`go install` error

Open loynoir opened this issue 3 years ago • 1 comments
trafficstars

As comparison, go install esbuild is ok

$ go install github.com/evanw/esbuild/cmd/esbuild@latest && echo OK
OK
$ go install github.com/esm-dev/esm.sh@latest
go: downloading github.com/esm-dev/esm.sh v0.1.0
go: github.com/esm-dev/esm.sh@latest: github.com/esm-dev/[email protected]: parsing go.mod:
        module declares its path as: esm.sh
                but was required as: github.com/esm-dev/esm.sh
$ go install esm.sh@latest
go: esm.sh@latest: unrecognized import path "esm.sh": parse https://esm.sh/?go-get=1: no go-import meta tags ()

Maybe change module name esm.sh to github.com/esm-dev/esm.sh?

loynoir avatar Apr 19 '22 17:04 loynoir

Haven't tried this but yes, I assume changing the name to fully qualified would work

jimisaacs avatar Apr 24 '22 12:04 jimisaacs

related to #306

ije avatar Sep 04 '23 10:09 ije