-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
Description
Describe the bug
Monaco is not running in v52.9.1.
The JS console provides the following error:
[Vue warn]: Unhandled error during execution of mounted hook
at <Monaco code-lz="MYewdgziA2CmB00QHMAUByAEraSDqIATtACboCUAUEA=" lang="ts" >
at <None frontmatter=
Object { theme: "seriph", mdc: true, layout: "none" }
>
at <Slides.mdslidev1>
at <AsyncComponentWrapper>
at <SlideWrapper key=1 clicks-context=
Object { current: Getter & Setter, clicksStart: 0, relativeSizeMap: Getter, maxMap: Getter, isMounted: Getter, setup: setup(), calculateSince: calculateSince(rawAt, size), calculateRange: calculateRange(rawAt), calculate: calculate(at), register: register(el, info)
, … }
route=
Object { no: 1, meta: Proxy, load: async load1()
, component: {…} }
... >
at <TransitionGroup id="slideshow" tag="div" class="" ... >
at <SlidesShow render-context="slide" >
at <SlideContainer style=
Object { background: "var(--slidev-slide-container-background, black)" }
is-main="" content-style=
Object { filter: "" }
... >
at <Play onVnodeUnmounted=fn<onVnodeUnmounted> ref=Ref<
Proxy { <target>: Proxy, <handler>: {…} }
> >
at <RouterView>
at <App>
Minimal reproduction
Steps to reproduce the behavior:
- Create an empty slidev project
- Set slides to:
---
theme: seriph
mdc: true
layout: none
---
```ts {monaco}
console.log('HelloWorld')
```
- Run
npm run dev
Environment
- Slidev version: 52.9.1
- Browser: Firefox and Edge
- OS: Windows 11
astrochemx