Skip to content

templ version check failed #460

Answered by swetjen
fredrikbergqvist asked this question in Q&A
Discussion options

You must be logged in to vote

You're probably running an outdated version of the CLI tool, not the package dependency. To confirm, try this from your command line:

$ templ version

It'll probably show v0.2.501. If so, you can fix this by updating the CLI. Assuming you've installed templ using go, the command to update templ is:

$ go install github.com/a-h/templ/cmd/templ@latest.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@fredrikbergqvist
Comment options

Answer selected by fredrikbergqvist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants