Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install: Build Instructions Don't Work #25

Open
nathandelane opened this issue Aug 12, 2021 · 1 comment
Open

Install: Build Instructions Don't Work #25

nathandelane opened this issue Aug 12, 2021 · 1 comment

Comments

@nathandelane
Copy link

nathandelane commented Aug 12, 2021

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.

@nathandelane
Copy link
Author

Accidentally closed this - this is still an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant