esm.sh
esm.sh copied to clipboard
`go install` error
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?
Haven't tried this but yes, I assume changing the name to fully qualified would work
related to #306