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

4.0-next: Unterminated JSX contentssvelte(js_parse_error) #981

Closed
niemyjski opened this issue Sep 11, 2024 · 1 comment
Closed

4.0-next: Unterminated JSX contentssvelte(js_parse_error) #981

niemyjski opened this issue Sep 11, 2024 · 1 comment
Labels
bug Something isn't working triage Awaiting triage by a project member

Comments

@niemyjski
Copy link

Describe the bug

Getting Unterminated JSX contents after upgrading to 4.0 preview.

 let sortedHeaders = $derived(
        Object.keys(request.headers || {})
            .sort()
            .reduce(
                (acc, key) => {
                    acc[key] = request.headers?.[key].join(',') ?? '';
                    return acc;
                },
                <Record<string, string>>{}
            )
    );

image

Reproduction URL

https://github.com/exceptionless/Exceptionless/tree/main/src/Exceptionless.Web/ClientApp

Reproduction

Build the project

Logs

No response

System Info

System:
    OS: Windows 11 10.0.22631
    CPU: (24) x64 AMD Ryzen 9 5900X 12-Core Processor
    Memory: 8.38 GB / 31.91 GB
  Binaries:
    Node: 22.8.0 - C:\Program Files\nodejs\node.EXE
    npm: 10.8.3 - ~\AppData\Roaming\npm\npm.CMD
    pnpm: 9.9.0 - C:\ProgramData\chocolatey\bin\pnpm.EXE
  Browsers:
    Edge: Chromium (127.0.2651.86)
    Internet Explorer: 11.0.22621.3527
  npmPackages:
    @sveltejs/adapter-static: ^3.0.4 => 3.0.4
    @sveltejs/kit: ^2.5.26 => 2.5.26
    @sveltejs/vite-plugin-svelte: ^4.0.0-next.7 => 4.0.0-next.7
    svelte: ^5.0.0-next.244 => 5.0.0-next.244
    vite: ^5.4.4 => 5.4.4
@niemyjski niemyjski added bug Something isn't working triage Awaiting triage by a project member labels Sep 11, 2024
@Conduitry
Copy link
Member

Duplicate of sveltejs/svelte#13179

@Conduitry Conduitry marked this as a duplicate of sveltejs/svelte#13179 Sep 11, 2024
@Conduitry Conduitry closed this as not planned Won't fix, can't repro, duplicate, stale Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage Awaiting triage by a project member
Projects
None yet
Development

No branches or pull requests

2 participants