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

[BUG] Windows release fails with FATAL error "failed to copy folder styles" #19

Open
stevecwilkinson opened this issue Jan 12, 2025 · 0 comments
Assignees

Comments

@stevecwilkinson
Copy link

Current behaviour

I'm having some trouble getting it running however. I pulled the latest Windows release (v0.0.2) from GitHub and copied the config.json from the repo example, changing only the database to "sqlite". When I start the app, I get the following:

 _   __      _           _
| | / /     | |         (_)
| |/ /  __ _| |_ __ ___  _  __ _
|    \ / _` | | '_ ` _ \| |/ _` |
| |\  \ (_| | | | | | | | | (_| |
\_| \_/\__,_|_|_| |_| |_|_|\__,_|
                            v0.0.2

{"level":"INFO","ts":"2025-01-10T09:39:17.068+0100","caller":"db/db.go:119","msg":"Database initialized"}
{"level":"INFO","ts":"2025-01-10T09:39:17.068+0100","caller":"db/cache.go:22","msg":"Cache initialized"}
{"level":"DEBUG","ts":"2025-01-10T09:39:17.068+0100","caller":"services/docs_rspress.go:263","msg":"Starting DocService.StartupCheck"}
{"level":"INFO","ts":"2025-01-10T09:39:17.068+0100","caller":"Kalmia/main.go:124","msg":"Starting server","port":2727}
{"level":"FATAL","ts":"2025-01-10T09:39:29.946+0100","caller":"services/docs_rspress.go:272","msg":"Initializing Package Cache Failed...","error":"failed to copy folder styles/: open rspress\\styles: file does not exist","stacktrace":"git.difuse.io/Difuse/kalmia/services.(*DocService).StartupCheck\n\t/home/runner/work/Kalmia/Kalmia/services/docs_rspress.go:272\nmain.main.func1\n\t/home/runner/work/Kalmia/Kalmia/main.go:47"}

Is there something more I need to do? I was confused by the instructions in the docs that said clone the repo and then docker up - surely if you have the binary and the config file, you don't need the whole repo? (I'm not using Docker at this stage.)

  • Version: 0.0.2
  • Browser: Version 131.0.6778.265 (Official Build) (64-bit)
  • Operating System (where kalmia is running): Windows 11 Pro, Versiosn 24H2 (OS Build 26100.2605)
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

3 participants