Loïc Mangeonjean

Results 149 comments of Loïc Mangeonjean

Are you using `@monaco-editor/react` or react-monaco-editor? `@monaco-editor/react` won't work as it doesn't use the ESM version What is the result of a `npm list monaco-editor`?

Webpack is not required, you can use whatever you want as soon as everything use the ESM version of monaco-editor from npm.

The issue is that `react-monaco-editor` has `monaco-editor` v0.33 as dependency while monaco-languageclient v3 REQUIRES monaco-editor 0.34, try to force the update to monaco-editor 0.34

> we should add a table to the main README stating the version requirements It can't hurt :+1: > I was also thinking whether makes sense to have usage examples...

> Yeah, god question ![Cima_da_Conegliano,_God_the_Father](https://user-images.githubusercontent.com/23257479/186628553-5642753b-2b19-4e38-b1c5-5e525419837f.jpg)

I'm not sure why the angular/react demos can't be along with the other demos though

The "missing service" error happens when there is multiple monaco editor versions involved

> I am only seeing v 0.33.0 in my yarn.lock file. But thanks I'll keep digging around with that in mind That's weird, because monaco-languageclient@3 has a dependency on [email protected]...

Oh you're not using the last version of monaco-languageclient! I don't know about your error, you should probably update though

I just realize it can happen if an editor is created before monaco-languageclient/monaco-vscode-api is loaded (because creating an editor initialize and freeze the services, while we are trying to register...