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

JavaScript error when loading REPL on the website #3160

Closed
fdb opened this issue Jul 2, 2019 · 13 comments
Closed

JavaScript error when loading REPL on the website #3160

fdb opened this issue Jul 2, 2019 · 13 comments

Comments

@fdb
Copy link

fdb commented Jul 2, 2019

Trying to load the Svelte REPL (https://svelte.dev/repl/hello-world?version=3.6.3
) keeps showing "loading Svelte compiler..." while giving the following error in the console:

Uncaught SyntaxError: missing ) after argument list (bundler.js:1:63505)

Tested browsers on macOS Mojave (10.14.5):

  • Chrome Version 75.0.3770.100 (Official Build) (64-bit)
  • Firefox Developer Edition 68.0b6 (64-bit)
  • Safari 12.1.1 (14607.2.6.1.1)

Screenshot 2019-07-02 at 23 58 12

@lukeed
Copy link
Member

lukeed commented Jul 2, 2019

If you look at the Network panel for the request/asset the REPL is making, you'll probably find that it's a Google 404 page.

There's some Cloud Run issues happening today (affecting more than svelte.dev) and we're kinda at the mercy of their ability to find a solution right now.

If you can confirm for us, that'd be great – thanks!

@Conduitry
Copy link
Member

What I was seeing before and what I'm seeing now is that https://svelte.dev/workers/bundler.js is getting truncated, not that it's a 404, and this is the syntax error that browser doesn't like. This might be related to GCR issues or it might be because we need to increase the memory allocation.

@Conduitry
Copy link
Member

I've increased the memory limit and https://svelte.dev/workers/bundler.js isn't getting truncated anymore for me, and the REPL is working again (when things don't 404).

@Conduitry
Copy link
Member

bundler.js is getting truncated for me again :-/

@Conduitry Conduitry reopened this Jul 2, 2019
@woudsma
Copy link

woudsma commented Jul 2, 2019

I'm experiencing the same problem on the /tutorial page!

@codykrieger
Copy link

I'm also seeing bundler.js being truncated, FWIW.

@fdb
Copy link
Author

fdb commented Jul 3, 2019

Same here, bundler.js just contains an exclamation mark:

!

@muthukumarse
Copy link

looks like the problem everywhere!

@anacarol
Copy link

anacarol commented Jul 3, 2019

I'm experiencing the same problem on the /tutorial page!

me too!

@Conduitry Conduitry pinned this issue Jul 3, 2019
@Rich-Harris
Copy link
Member

Google have announced that this issue was resolved, so this should be fixed. At worst you might need to do a hard refresh if it cached a bad version. I'll be optimistic and close this, but shout if you see it again

@Rich-Harris Rich-Harris unpinned this issue Jul 3, 2019
@luisfernandobarrera
Copy link

Same issue

@thomas-exxsite
Copy link

@stephane-vanraes
Copy link
Contributor

See #8010

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