-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
- P3: minor bugAn edge case that only affects very specific usage (priority)An edge case that only affects very specific usage (priority)regression
Description
Astro Info
Astro v5.15.1
Vite v6.4.1
Node v20.19.1
System Linux (x64)
Package Manager npm
Output server
Adapter @astrojs/node (v9.5.0)
Integrations @astrojs/react (v4.4.0)
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
After updating from 5.14.8 to 5.15.1, an error started appearing in the browser console.
[astro-island] Error hydrating /src/components/Header.tsx SyntaxError: The requested module '/node_modules/picocolors/picocolors.browser.js?v=70bfba13' does not provide an export named 'default' (at endpoint.js?v=70bfba13:1:8)
I’m checking it with npm run dev.
Updates
Essentially, is this the same issue as #14577 ?
It seems to occur even when using images other than SVG, such as PNG, in a client component.
What's the expected result?
No errors
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-v3vslw94?file=astro.config.mjs
Participation
- I am willing to submit a pull request for this issue.
amxmln and JoostKersjesholoisme
Metadata
Metadata
Assignees
Labels
- P3: minor bugAn edge case that only affects very specific usage (priority)An edge case that only affects very specific usage (priority)regression