monaco-languageclient icon indicating copy to clipboard operation
monaco-languageclient copied to clipboard

React Python Example not working

Open nishant1712 opened this issue 4 months ago • 0 comments

I have copy pasted the code and trying to run it, the error says

Uncaught (in promise) Error: Could NOT open editor for "file:///home/nishantshuke/workspace/test.py". at ExtHostEditors.showTextDocument (extHostTextEditors.js:72:1) at async onLoad (index.tsx:35:1)

Whenever i am loading the page, an additional model is also getting loaded. Pasting below the array of models

['file:///default-uri-modified-756126', 'file:///home/nishantshuke/workspace/test.py']

No idea what this default model is.

What am i doing wrong, or are there any other configurations that i am missing?

nishant1712 avatar Jun 13 '25 06:06 nishant1712