svelte icon indicating copy to clipboard operation
svelte copied to clipboard

Repl occasionally acting weird or breaks completely

Open KevsRepos opened this issue 2 years ago • 1 comments

Describe the bug

When an error like

'Parent' is not defined. Consider adding a

is thrown, the repl stops reacting to changes.

Reproduction

I cant save the repl in this broken state, but you can reproduce it by doing this:

  1. Reference a not existing component in App.svelte: <Parent /> - this way the repl will throw the error

'Parent' is not defined. Consider adding a

Then you can create the component and import it, but the error will remain. No output will be rendered and you cant save your work.

Logs

No logs

System Info

System:
    OS: Linux 6.2 Pop!_OS 22.04 LTS
    CPU: (12) x64 12th Gen Intel(R) Core(TM) i5-1235U
    Memory: 5.69 GB / 15.33 GB
    Container: Yes
    Shell: 5.1.16 - /bin/bash
  Binaries:
    Node: 19.3.0 - ~/.nvm/versions/node/v19.3.0/bin/node
    npm: 9.2.0 - ~/.nvm/versions/node/v19.3.0/bin/npm
  Browsers:
    Chrome: 114.0.5735.133
    Firefox: 114.0.1

Tested in Firefox!

Severity

annoyance

KevsRepos avatar Jun 27 '23 08:06 KevsRepos

Just pushed a fix. Can you check again?

PuruVJ avatar Jul 02 '23 18:07 PuruVJ

@PuruVJ Works again! All the other issues also seem to be eliminated. Thanks 🥰

KevsRepos avatar Jul 07 '23 12:07 KevsRepos

@paoloricciuti deserves the praise 🙏

PuruVJ avatar Jul 07 '23 12:07 PuruVJ