Skip to content
Discussion options

You must be logged in to vote

Sounds like a bundling error on monaco-editor's part as it's module entrypoint is an ESM .js file, but the package.json isn't type: module. But at the same time, monaco-editor is browser-only, and it should be used in onMount, which would bypass the issue.

Replies: 4 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@manuganji
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@shaun-wild
Comment options

@benmccann
Comment options

@shaun-wild
Comment options

@SheldonParsons
Comment options

@davidfitzgibbon
Comment options

Answer selected by manuganji
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants