scribble.rs icon indicating copy to clipboard operation
scribble.rs copied to clipboard

I clone the repo I'm getting this error

Open shuence opened this issue 2 years ago • 8 comments

[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.

shuence avatar Jul 17 '22 15:07 shuence

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.

Bios-Marcel avatar Jul 17 '22 15:07 Bios-Marcel

So I cloned the repo and run go run main.go command Environment : OS: Win11 x64 Go version: 1.18.4

shuence avatar Jul 17 '22 15:07 shuence

u gotta do go run .

Bios-Marcel avatar Jul 17 '22 20:07 Bios-Marcel

image

shuence avatar Jul 18 '22 07:07 shuence

hm, i am clueless, maybe its a windows path thing. I don't use windows.

Bios-Marcel avatar Jul 18 '22 07:07 Bios-Marcel

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. image

shuence avatar Jul 18 '22 08:07 shuence

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

Bios-Marcel avatar Jul 18 '22 08:07 Bios-Marcel

No I didn't I just editted the lobby-create html file and little bit css

shuence avatar Jul 18 '22 09:07 shuence