Skip to content

Regression(#13914): Svelte 4 does not have an export named untrack #13932

@yhx-12243

Description

@yhx-12243

Describe the bug

This causes the compilation error when using svelte 4 and @sveltejs/kit 2 with newest compatible version (^4 and ^2).

Reproduction

Any project with following package.json will causes a compilation error.

"devDependencies": {
    "@sveltejs/kit": "^2",
    "svelte": "^4"
}

Logs

../../node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]/node_modules/@sveltejs/kit/src/runtime/client/client.js (2:24): "untrack" is not exported by "../../node_modules/.pnpm/[email protected]/node_modules/svelte/src/runtime/ssr.js", imported by "../../node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]/node_modules/@sveltejs/kit/src/runtime/client/client.js".

System Info

Any

Severity

annoyance

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions