Go templ fail to build
rabinthapa1998
TRIALOP
a year ago
I'm using go and templ but my application is seem to fail on build , i had tried different build options ,
currect setting:
root directory : /cmd
build command templ generate && go build -o out main.go
1 Replies
brody
EMPLOYEE
a year ago
First, delete your nixpacks.toml file as its likely doing more harm than good at the moment.
Then, try setting your root directory back to the root, and then changing your build command to -
templ generate && go build -o out ./...