scribble.rs
scribble.rs copied to clipboard
I clone the repo I'm getting this error
[Error templating home page: html/template: "lobby-create-page" is undefined
func init() { var templateParseError error pageTemplates, templateParseError = template.ParseFS(templateFS, "templates/*") if templateParseError != nil { panic(templateParseError) }
Here is the function which shows the error I tried every solution available but it didn't fix.
Uh, that's not enough info, I can't do anything with this. I need infos about what exactly you did and what environment you are in.
So I cloned the repo and run go run main.go
command
Environment :
OS: Win11 x64
Go version: 1.18.4
u gotta do go run .
hm, i am clueless, maybe its a windows path thing. I don't use windows.
Yah it fixed it it's lobby_create.html
but in code it's lobby-create-page
in code.
how should i proceed next nothing happening on clicking create lobby button.
uh, the id and the filename are different things, it works for me, that part should be right :thinking:
Also, you've changed the code, i wouldn't know why something doesn't work :D
No I didn't I just editted the lobby-create html file and little bit css