Skip to content

worked on 5.20.2, error on 5.20.4 (toggle_class" is not exported by "../node_modules/svelte/src/internal/client/index.js) #15391

@i18nsite

Description

@i18nsite

Describe the bug

I use vite + svelte compile into web compent
worked on 5.20.2, error on 5.20.4

Captcha.svelte (2:0): "toggle_class" is not exported by "../node_modules/svelte/src/internal/client/index.js", imported by "Captcha.svelte".
Captcha.svelte (247:5): Error when using sourcemap for reporting an error: Can't resolve original location of error.
Captcha.svelte (247:5): "flush_sync" is not exported by "../node_modules/svelte/src/internal/client/index.js", imported by "Captcha.svelte".
Captcha.svelte (254:5): Error when using sourcemap for reporting an error: Can't resolve original location of error.
Captcha.svelte (254:5): "flush_sync" is not exported by "../node_modules/svelte/src/internal/client/index.js", imported by "Captcha.svelte".
State.svelte (616:5): Error when using sourcemap for reporting an error: Can't resolve original location of error.
State.svelte (616:5): "flush_sync" is not exported by "../node_modules/svelte/src/internal/client/index.js", imported by "State.svelte".

Reproduction

git clone -b dev  ssh://[email protected]:443/i18n-site/web.git
cd web
bun i && ./build.sh

Logs

System Info

System:
    OS: macOS 15.3
    CPU: (12) arm64 Apple M2 Max
    Memory: 16.98 GB / 64.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 23.6.1 - ~/.local/share/mise/installs/node/23.6.1/bin/node
    Yarn: 1.22.22 - ~/.local/share/mise/installs/node/23.6.1/bin/yarn
    npm: 10.9.2 - ~/.local/share/mise/installs/node/23.6.1/bin/npm
    pnpm: 9.15.4 - ~/.local/share/mise/installs/node/23.6.1/bin/pnpm
    bun: 1.2.3 - /opt/homebrew/bin/bun
  Browsers:
    Chrome: 133.0.6943.141
    Safari: 18.3
  npmPackages:
    svelte: =5.20.2 => 5.20.2

Severity

annoyance

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaiting submitterneeds a reproduction, or clarification

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions