Closed jerdog closed 4 months ago
I can reproduce it as well in the latest version. It has been working fine until the version 0.49.0
. Let me see what I can do.
I just released the fix in version 0.0.20
. Thanks for opening the issue @jerdog.
Confirm that it worked for me as well on the new version. Thanks for the responsiveness.
Jeremy Meiss
"In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move." - Douglas Adams
LinkedIn https://www.linkedin.com/in/jeremymeiss / Website https://jmeiss.me / PGP Key https://keybase.io/jerdog/
On Wed, Jul 10, 2024 at 9:47 AM Elio Struyf @.***> wrote:
I just released the fix in version 0.0.20. Thanks for opening the issue @jerdog https://github.com/jerdog.
— Reply to this email directly, view it on GitHub https://github.com/estruyf/slidev-theme-the-unnamed/issues/6#issuecomment-2220715914, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACIPIE3AAPHWTVH4GLSR7LZLVCRFAVCNFSM6AAAAABKU5EH62VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRQG4YTKOJRGQ . You are receiving this because you were mentioned.Message ID: @.***>
Whenever creating a new slidev presentation, the default is
seraph
. When you add inthe-unnamed
it works, but all subsequent reloads / rebuilds of the presentation fail with:I can change the theme back to
seraph
and it loads, and then change it tothe-unnamed
and it auto-reloads fine. But rebuilding withthe-unnamed
as the theme fails every time.The error looks to be coming from: https://github.com/estruyf/slidev-theme-the-unnamed/blob/760305885e1d15bad34534fcfc8c228ea710dd1a/setup/shiki.ts#L8
as it's looking for the json file in
/Users/jerdog/dev/talks/test-pres-slidev/node_modules/slidev-theme-the-unnamed/setup/slidev-theme-the-unnamed/public/theme/theunnamed-dark-theme.json
where it isn't, instead of in/Users/jerdog/dev/talks/test-pres-slidev/node_modules/slidev-theme-the-unnamed/public/theme/theunnamed-dark-theme.json
where it actually is.All attempts to adjust the
".."
to be indicative of the path where the file is don't seem to change where it's looking for the file. The".."
should actually work, but it's not changing the path at all - like it's ignoring it altogether.MacOS: Sonoma 14.5 Node.js: v20.5.0 Slidev: 0.49.16