Skip to content

Uncaught (in promise) Error: Could not find source file: 'inmemory://model/1'. #56

Description

@mattymatty76

First of all, thank you for this very interesting project.
I'd like to report an error I encountered while testing the editor.
I created an editor in HTML and added script tags (embedded languages).
When I entered it, context switching didn't work, meaning intellisense didn't work. It also returned the following error (I also tried changing the language at runtime on click within the script tag, but nothing happened):

Uncaught (in promise) Error: Could not find source file: 'inmemory://model/1'.
D typescript.js:152749
Q typescript.js:153009
doValidation worker.mjs:1905
$fmr editor-worker.mjs:14404
_handleMessage editor-worker.mjs:2075
handleMessage editor-worker.mjs:2054
_handleRequestMessage editor-worker.mjs:1991
_handleMessage editor-worker.mjs:1959
handleMessage editor-worker.mjs:1930
onmessage editor-worker.mjs:2060
onmessage editor-worker.mjs:2126
Ei editor-worker.mjs:2125
q0 editor-worker.mjs:14430
onmessage editor-worker.mjs:14460
ho editor-worker.mjs:14459
worker.mjs:2867

Just to share with other users who may have had the same problem, thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions