Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

does not install go-admin #12

Open
iida-tomonori opened this issue Aug 1, 2024 · 0 comments
Open

does not install go-admin #12

iida-tomonori opened this issue Aug 1, 2024 · 0 comments

Comments

@iida-tomonori
Copy link

Go1.22.5
MySQL8.0.28
Gin

$ adm -V
GoAdmin CLI v1.2.30

$ adm init web
GoAdmin web install program start.
2024/08/01 08:51:50 http: panic serving [::1]:58455: mkdir pages: file exists
goroutine 36 [running]:
net/http.(*conn).serve.func1()
/Users/s22641/.gvm/gos/go1.22.5/src/net/http/server.go:1903 +0xb0
panic({0x100ecc900?, 0x14000375b60?})
/Users/s22641/.gvm/gos/go1.22.5/src/runtime/panic.go:770 +0x124
main.checkError(...)
/Users/s22641/.gvm/pkgsets/go1.22.5/global/pkg/mod/github.com/!go!admin!group/[email protected]/helper.go:30
main.mkdirs(...)
/Users/s22641/.gvm/pkgsets/go1.22.5/global/pkg/mod/github.com/!go!admin!group/[email protected]/helper.go:92
main.installProjectTmpl({{0x1400032457e, 0x2}, {0x14000324548, 0x5}, {0x0, 0x0}, {0x14000324588, 0x5}, {0x14000324571, 0x2}, ...}, ...)
/Users/s22641/.gvm/pkgsets/go1.22.5/global/pkg/mod/github.com/!go!admin!group/[email protected]/project.go:252 +0x11e8
main.buildProjectWeb.func1.3({0x100f6f0e0, 0x140003041c0}, 0x1400017d560)
/Users/s22641/.gvm/pkgsets/go1.22.5/global/pkg/mod/github.com/!go!admin!group/[email protected]/project_web.go:229 +0x1218
net/http.HandlerFunc.ServeHTTP(0x101445570?, {0x100f6f0e0?, 0x140003041c0?}, 0x140002c0b00?)
/Users/s22641/.gvm/gos/go1.22.5/src/net/http/server.go:2171 +0x38
net/http.(*ServeMux).ServeHTTP(0x10?, {0x100f6f0e0, 0x140003041c0}, 0x1400017d560)
/Users/s22641/.gvm/gos/go1.22.5/src/net/http/server.go:2688 +0x1a4
net/http.serverHandler.ServeHTTP({0x100f6cfc0?}, {0x100f6f0e0?, 0x140003041c0?}, 0x6?)
/Users/s22641/.gvm/gos/go1.22.5/src/net/http/server.go:3142 +0xbc
net/http.(*conn).serve(0x14000302120, {0x100f71280, 0x140002289c0})
/Users/s22641/.gvm/gos/go1.22.5/src/net/http/server.go:2044 +0x508
created by net/http.(*Server).Serve in goroutine 2
/Users/s22641/.gvm/gos/go1.22.5/src/net/http/server.go:3290 +0x3f0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant