You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried running make install in the root of the clone of this project, and it failed with the following error:
$ go version
go version go1.16.7 darwin/amd64
$ make install
go install -ldflags="-X main.version=`cat VERSION`" "github.com/sebdah/markdown-toc"
go install: version is required when current directory is not in a module
Try 'go install github.com/sebdah/markdown-toc@latest' to install the latest version
make: *** [install] Error 1
So I tried go install github.com/sebdah/markdown-toc@latest and I'm not exactly sure that installed markdown-toc:
$ go install github.com/sebdah/markdown-toc@latest
go: downloading github.com/sebdah/markdown-toc v0.0.0-20171116085747-3bb461875c34
go: finding module for package github.com/spf13/cobra
go: downloading github.com/spf13/cobra v1.2.1
go: found github.com/spf13/cobra in github.com/spf13/cobra v1.2.1
go: downloading github.com/spf13/pflag v1.0.5
$ markdown-toc
-bash: markdown-toc: command not found
This doesn't seem to be working.
The text was updated successfully, but these errors were encountered:
I tried running
make install
in the root of the clone of this project, and it failed with the following error:So I tried
go install github.com/sebdah/markdown-toc@latest
and I'm not exactly sure that installed markdown-toc:This doesn't seem to be working.
The text was updated successfully, but these errors were encountered: