sikozonpc / fullstack-go-htmx

Go + HTMX + Templ
115 stars 27 forks source link

Setup issues #4

Open mlanner opened 1 week ago

mlanner commented 1 week ago

Newbie warning! I cloned the project and installed the various tools. I ran into some issues along the way, probably partially due to upgrading my Golang installation, but I got that sorted out. Still, I'm not 100% certain I got it all right. One clue that maybe that's not the case is the issue I'll describe below.

I believe my last issue is with templ in that when I run the make templ command, I keep getting:

$ make templ 
make: templ: No such file or directory
make: *** [Makefile:16: templ] Error 127

I get that it's missing a file/directory, but when I ran go install github.com/a-h/templ/cmd/templ@latest it did seem to finish without problems. So, I'm not understanding why it's not working.

Sidenote: While I do believe I have all the tools installed, it would be nice with a bit more detail of how to get them properly installed for this project. I'd be happy to contribute to that if I could just understand where I've gone wrong.

Thanks in advance.

sikozonpc commented 3 days ago

Hey @mlanner

Thank you reporting the issue. Although this repo is not updated because it was used for a lesson, I'll keep this issue open in case somebody runs into same issue and I find a proper solution.

Thanks again.