Open zillionare opened 2 months ago
Does this happen in the latest version?
with version 0.49.29, the issue still exists:
slide failed to load SyntaxError: The requested module 'http://192.168.100.5:3030/@fs/apps/slidev_themes/node_modules/lz-string/libs/lz-string.js?v=e101dc9b' doesn't provide an export named: 'default'
my shiki settings(not sure if it's related):
// import { transformerMetaWordHighlight, transformerNotationDiff } from '@shikijs/transformers'
import { defineShikiSetup } from '@slidev/types'
console.log("configure shiki from landscape-jade")
export default defineShikiSetup(() => {
return {
themes: {
dark: 'min-dark',
light: 'min-light',
}
// transformers: [
// transformerNotationDiff(),
// transformerMetaWordHighlight(),
// ]
}
})
the issue exists no matter the lines are commented out or not.
Will this will be fixed in recent release? It will cause both magic-move and monaco editor not work.
If you need help on reproduction, please let me know.
Yes, I used the latest release recently, and didn;t encounter this problem. Can this be reproduced in https://sli.dev/new ?
Describe the bug
This is an old bug (#1348 ), but it reappeared in version 0.49.16 again, when I try to enable monaco editor.
Minimal reproduction
Steps to reproduce the behavior:
the source md:
monaco configuration(theme/setup/monaco.ts):
I have compared my local Monaco.vue with your repo (main branch, latest version), seems like the version has rolled back:
in #1348 , it was:
Not sure if this cause the issue.
Environment
If you are using Slidev globally (i.e.
npx slidev
ornpm i -g slidev
), please try to reproduce the issue in a local project (i.e.npm create slidev@latest
).