TS Playground : Red banner "Could not find source file: 'inmemory://model/1'."

Hello :slight_smile:

It’s not a blocking issue for me, but I noticed that each time I launch a TS playground, fresh of any cache (for example just opening a new incognito window) it would trigger this error :

Could not find source file: ‘inmemory://model/1’.

(See red banner at bottom)

(Open playground in new incognito window to reproduce)

After a page reload, it would not trigger this error anymore. Any idea why this happens ? Am I the only one ? :thinking:


Also, maybe related, I found a comment about this in the source code :

After a quick search on the web, it indeed seems to be related to the Monaco Editor …

I have the same with the first opening of TS PG.

cc @RaananW

This happens because of race conditions in the Monaco editor when loading the typescript support. Once i update the editor it’ll go away.
And yes, it annoys me as well :pensive: