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

svelte.dev/repl is broken with the latest compiler v3.53.0 #8010

Closed
mdtomo opened this issue Nov 10, 2022 · 3 comments · Fixed by #8014
Closed

svelte.dev/repl is broken with the latest compiler v3.53.0 #8010

mdtomo opened this issue Nov 10, 2022 · 3 comments · Fixed by #8014

Comments

@mdtomo
Copy link

mdtomo commented Nov 10, 2022

Describe the bug

The repl is currently broken at svelte.dev/repl. It looks like the REPL may need a polyfill for util.inspect?

Reproduction

Go to svelte.dev/repl and look at your browser console

Logs

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'inspect')
    at util.inspect.js:1:34
    at compiler.js:4:28
    at compiler.js:5:2


### System Info

```shell
Version 1.40.107 Chromium: 103.0.5060.53 (Official Build) (64-bit)

Severity

annoyance

@AbidKhairyAK
Copy link

very unfortunate for me, this happen when i introduced svelte to my boss, really made a bad first impression :(

@dummdidumm
Copy link
Member

For the time being you can revert to a earlier working version of the REPL through appending the version as a query parameter: https://svelte.dev/repl/hello-world?version=3.52

dummdidumm added a commit to dummdidumm/svelte that referenced this issue Nov 10, 2022
this is needed for running the Svelte compiler in the browser
Fixes sveltejs#8010
Conduitry pushed a commit that referenced this issue Nov 10, 2022
this is needed for running the Svelte compiler in the browser
Fixes #8010
@Conduitry
Copy link
Member

This should be working again in 3.53.1 - sorry about this!

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

Successfully merging a pull request may close this issue.

4 participants