iebb / F1WebViewer-SelfHosted

Self-hosted reverse-proxy for F1 web viewer.
Apache License 2.0
67 stars 11 forks source link

Error on opening V0.2.0 #9

Closed Placemaster closed 2 years ago

Placemaster commented 2 years ago

I tried running version 0.2.0 locally on my MacBook Air. I do get the following error after entering go run main.go

# command-line-arguments ./main.go:89:44: undefined: handleLogin ./main.go:113:21: undefined: GetSelfSignedCertificate note: module requires Go 1.17

How to resolve the issue?

iebb commented 2 years ago

are you using pre-built binary or just running the go file?

you are supposed to run "go run ." instead of "go run main.go" now

Placemaster commented 2 years ago

I have downloaded the F1WebViewer-SelfHosted-0.2.0.tar.gz file. When trying to run it with the command go run it does not start and do get the following error: go run: no go files listed

Also with go run main.go it does not run. Error code

# command-line-arguments
./main.go:89:44: undefined: handleLogin
./main.go:113:21: undefined: GetSelfSignedCertificate
note: module requires Go 1.17
iebb commented 2 years ago

I have downloaded the F1WebViewer-SelfHosted-0.2.0.tar.gz file. When trying to run it with the command go run it does not start and do get the following error: go run: no go files listed

Also with go run main.go it does not run. Error code

# command-line-arguments
./main.go:89:44: undefined: handleLogin
./main.go:113:21: undefined: GetSelfSignedCertificate
note: module requires Go 1.17

add a dot after, go run .

Placemaster commented 2 years ago

with the . it is working. Thanks!