svelte
svelte copied to clipboard
Repl occasionally acting weird or breaks completely
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:
- 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
Just pushed a fix. Can you check again?
@PuruVJ Works again! All the other issues also seem to be eliminated. Thanks 🥰
@paoloricciuti deserves the praise 🙏