Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with SDK editor #23

Open
1bye opened this issue Jul 23, 2024 · 0 comments
Open

Error with SDK editor #23

1bye opened this issue Jul 23, 2024 · 0 comments

Comments

@1bye
Copy link

1bye commented Jul 23, 2024

I've been using the embedProject from the SDK for a long time, but today I encountered the following errors with the same code that worked in previous months:

Console errors:

run?embed=1&theme=light&view=editor:8 Uncaught (in promise) 
Error: Could not find source file: 'stackblitz:/.etc/output.ts'.
    at g (mts5w-5f2f16260d5ca.js:7:1667344)
    at Object.getSyntacticDiagnostics (mts5w-5f2f16260d5ca.js:7:1674772)
    at e.getSyntacticDiagnostics (mts5w-5f2f16260d5ca.js:7:4872306)
    at e.<anonymous> (mts5w-5f2f16260d5ca.js:7:4913775)
    at r.fmr (workerMain.js:13:116573)
    at a._handleMessage (workerMain.js:13:65955)
    at Object.handleMessage (workerMain.js:13:65622)
    at f._handleMessage (workerMain.js:13:63696)
    at f.handleMessage (workerMain.js:13:63305)
    at a.onmessage (workerMain.js:13:65672)
run?embed=1&theme=light&view=editor:8 Uncaught (in promise) 
Error: Could not find source file: 'stackblitz:/.etc/run.ts'.
    at g (mts5w-5f2f16260d5ca.js:7:1667344)
    at Object.getSyntacticDiagnostics (mts5w-5f2f16260d5ca.js:7:1674772)
    at e.getSyntacticDiagnostics (mts5w-5f2f16260d5ca.js:7:4872306)
    at e.<anonymous> (mts5w-5f2f16260d5ca.js:7:4913775)
    at r.fmr (workerMain.js:13:116573)
    at a._handleMessage (workerMain.js:13:65955)
    at Object.handleMessage (workerMain.js:13:65622)
    at f._handleMessage (workerMain.js:13:63696)
    at f.handleMessage (workerMain.js:13:63305)
    at a.onmessage (workerMain.js:13:65672)
run?embed=1&theme=light&view=editor:8 Uncaught (in promise) 
Error: Could not find source file: 'stackblitz:/.etc/types.d.ts'.
    at g (mts5w-5f2f16260d5ca.js:7:1667344)
    at Object.getSyntacticDiagnostics (mts5w-5f2f16260d5ca.js:7:1674772)
    at e.getSyntacticDiagnostics (mts5w-5f2f16260d5ca.js:7:4872306)
    at e.<anonymous> (mts5w-5f2f16260d5ca.js:7:4913775)
    at r.fmr (workerMain.js:13:116573)
    at a._handleMessage (workerMain.js:13:65955)
    at Object.handleMessage (workerMain.js:13:65622)
    at f._handleMessage (workerMain.js:13:63696)
    at f.handleMessage (workerMain.js:13:63305)
    at a.onmessage (workerMain.js:13:65672)
run?embed=1&theme=light&view=editor:8 Uncaught (in promise) 
Error: Could not find source file: 'stackblitz:/.etc/globals.d.ts'.
    at g (mts5w-5f2f16260d5ca.js:7:1667344)
    at Object.getSyntacticDiagnostics (mts5w-5f2f16260d5ca.js:7:1674772)
    at e.getSyntacticDiagnostics (mts5w-5f2f16260d5ca.js:7:4872306)
    at e.<anonymous> (mts5w-5f2f16260d5ca.js:7:4913775)
    at r.fmr (workerMain.js:13:116573)
    at a._handleMessage (workerMain.js:13:65955)
    at Object.handleMessage (workerMain.js:13:65622)
    at f._handleMessage (workerMain.js:13:63696)
    at f.handleMessage (workerMain.js:13:63305)
    at a.onmessage (workerMain.js:13:65672)
run?embed=1&theme=light&view=editor:8 Uncaught (in promise) 
Error: Could not find source file: 'stackblitz:/.etc/output.ts'.
    at g (mts5w-5f2f16260d5ca.js:7:1667344)
    at Object.getSyntacticDiagnostics (mts5w-5f2f16260d5ca.js:7:1674772)
    at e.getSyntacticDiagnostics (mts5w-5f2f16260d5ca.js:7:4872306)
    at e.<anonymous> (mts5w-5f2f16260d5ca.js:7:4913775)
    at r.fmr (workerMain.js:13:116573)
    at a._handleMessage (workerMain.js:13:65955)
    at Object.handleMessage (workerMain.js:13:65622)
    at f._handleMessage (workerMain.js:13:63696)
    at f.handleMessage (workerMain.js:13:63305)
    at a.onmessage (workerMain.js:13:65672)
run?embed=1&theme=light&view=editor:8 Uncaught (in promise) 
Error: Could not find source file: 'stackblitz:/.etc/run.ts'.
    at g (mts5w-5f2f16260d5ca.js:7:1667344)
    at Object.getSyntacticDiagnostics (mts5w-5f2f16260d5ca.js:7:1674772)
    at e.getSyntacticDiagnostics (mts5w-5f2f16260d5ca.js:7:4872306)
    at e.<anonymous> (mts5w-5f2f16260d5ca.js:7:4913775)
    at r.fmr (workerMain.js:13:116573)
    at a._handleMessage (workerMain.js:13:65955)
    at Object.handleMessage (workerMain.js:13:65622)
    at f._handleMessage (workerMain.js:13:63696)
    at f.handleMessage (workerMain.js:13:63305)
    at a.onmessage (workerMain.js:13:65672)

Do you have any ideas on what might be causing this? Have there been any recent changes to the API?
If you need I can provide files which I using in embedProject
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant