-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
SyntaxError: missing formal parameter (Firefox) #4463
Comments
Part of this is definitely webpack doing something peculiar, but I think what Svelte's doing that might be wrong is including the unknown global @rixo Do you have thoughts about making |
@Conduitry How do you qualify "unknown" globals? Anyway, I think we should exclude all of them from For HMR it's irrelevant, but I guess that'd be weird to end up with things like So yeah, I think we should definitely remove globals from @RedHatter Can you confirm that globals are not needed for dev tools? Or did I miss something? @soullivaneuh I think you shouldn't be using import config from "../../tailwind.config.js"; (And for what it's worth, the whole client side component is crashed... What you get is just the SSR'd page.) |
Yeah, excluding globals from |
Sorry, yeah, 'unknown' was a bit of a loaded term. I was really just asking about all variables that aren't declared (possibly implicitly) or imported in the component - and it sounds like there's agreement that these should be excluded when capturing the state. I don't think there should be a whitelist of globals that should still be included anyway in the captured state. |
Describe the bug
The svelte title is replaced by
500
and I have this error on the console:Logs
Please include browser console and server logs around the time this bug occurred.
To Reproduce
To help us help you, if you've found a bug please consider the following:
You can also checkout this public MR: https://gitlab.com/nexylan/design/-/merge_requests/42
Expected behavior
Working without any error.
Severity
Happen on dev env only for a demo project, so not a big deal to me.
Could be problematic for other, especially with the
500
title issue.Additional context
This happens only on v3.19.0 and v3.19.1, maybe a BC break?
I also tried a Tailwind downgrade to the old version I used before, the error still happen with Svelte 3.19.
The text was updated successfully, but these errors were encountered: