Skip to content
Discussion options

You must be logged in to vote

Oh my gawd. Okay, it looks like this is somehow specific to Firefox (I am running Firefox v142.0.1).

I searched for unexpected garbage after module on GitHub and virtually all of the results seemed to be in other codebases that had been forked from Firefox, and this one-line unit test:

// |jit-test| error: SyntaxError: unexpected garbage after module
parseModule(("}"));

Which seems to be what is somehow generating the error that I'm getting. It appears to refer to this closed 10 year old bug.

And if I cut-and-paste the localhost URL for the notebook into Safari, it runs just fine!

Unfortunately, even if I restart Firefox in "safe mode" with all extensions and plugins disabled, I still get…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by zaneselvans
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant