8000 fix(sveltekit): vite does not provide export defaultClientConditions by hanspagel · Pull Request #5622 · scalar/scalar · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix(sveltekit): vite does not provide export defaultClientConditions #5622

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.

8000

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 13, 2025

Conversation

hanspagel
Copy link
Member
@hanspagel hanspagel commented May 12, 2025

Problem

When running pnpm install, there’s an error in the console:

SyntaxError: The requested module 'vite' does not provide an export named 'defaultClientConditions'

See sveltejs/vite-plugin-svelte#1048

Solution

This PR downgrades the Vite Svelte plugin.

Fixes #5579

Checklist

I’ve gone through the following:

  • I’ve added an explanation why this change is needed.
  • I’ve added a changeset (pnpm changeset).
  • I’ve added tests for the regression or new feature.
  • I’ve updated the documentation.

@hanspagel hanspagel self-assigned this May 12, 2025
Copy link
changeset-bot bot commented May 12, 2025

⚠️ No Changeset found

Latest commit: cb2d454

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@hanspagel hanspagel changed the title fix: vite does not provide export defaultClientConditions fix(sveltekit): vite does not provide export defaultClientConditions May 12, 2025
Copy link
relativeci bot commented May 12, 2025

#9755 Bundle Size — 2.45MiB (0%).

cb2d454(current) vs ec30edd main#9754(baseline)

Warning

Bundle contains 6 duplicate packages – View duplicate packages

Bundle metrics  no changes
                 Current
#9755
     Baseline
#9754
No change  Initial JS 2.45MiB 2.45MiB
No change  Initial CSS 0B 0B
Change  Cache Invalidation 0% 100%
No change  Chunks 1 1
No change  Assets 1 1
No change  Modules 1495 1495
No change  Duplicate Modules 0 0
No change  Duplicate Code 0% 0%
No change  Packages 172 172
No change  Duplicate Packages 6 6
Bundle size by type  no changes
                 Current
#9755
     Baseline
#9754
No change  JS 2.45MiB 2.45MiB

Bundle analysis reportBranch chore/downgrade-vite-svelte-plug...Project dashboard


Generated by RelativeCIDocumentationReport issue

Copy link
Contributor

@marclave marclave self-requested a review May 13, 2025 05:56
@hanspagel hanspagel enabled auto-merge (squash) May 13, 2025 11:23
@hanspagel hanspagel disabled auto-merge May 13, 2025 11:23
@hanspagel hanspagel merged commit 9f5da69 into main May 13, 2025
35 checks passed
@hanspagel hanspagel deleted the chore/downgrade-vite-svelte-plugin branch May 13, 2025 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants
0