Skip to content

Conversation

@jycouet
Copy link
Contributor

@jycouet jycouet commented Jun 7, 2025

Linked with sveltejs/svelte#11394


Today sv with vitest addon is failing with this error:

`mount(...)` is not available on the server

This PR is fixing the issue (and fixing main branch)

🚨 I guess that this one is kinda "urgent" 🚨

@changeset-bot
Copy link

changeset-bot bot commented Jun 7, 2025

🦋 Changeset detected

Latest commit: 867f7f2

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
sv Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@pkg-pr-new
Copy link

pkg-pr-new bot commented Jun 7, 2025

Open in StackBlitz

npx https://pkg.pr.new/sveltejs/cli/sv@582
npx https://pkg.pr.new/sveltejs/cli/svelte-migrate@582

commit: 867f7f2

@manuel3108
Copy link
Member

Duplicates #580, this is regression introduced by vitest vitest-dev/vitest#8120

@manuel3108 manuel3108 closed this Jun 8, 2025
@jycouet
Copy link
Contributor Author

jycouet commented Jun 8, 2025

Duplicates #580, this is regression introduced by vitest vitest-dev/vitest#8120

Thank you @manuel3108 for links and keeping everyone in the loop 👍

Maybe vitest could be pin before vitest regression so that sv still work fully ?

@jycouet jycouet deleted the fix/resolve-conditions-for-client branch October 17, 2025 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants