-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Description
Astro Info
Astro v6.0.0-beta.17
Vite v6.4.1
Node v25.6.0
System macOS (arm64)
Package Manager npm
Output server
Adapter @astrojs/node (v10.0.0-beta.6)
Integrations @astrojs/sitemap (v3.7.0)
@astrojs/react (v5.0.0-beta.3)
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
Components with server:defer directive started to throw this error during build after upgrade from Astro v5 to v6.17 beta. I did the backward test which proved that on v5 the same components worked fine. I'm unable to narrow down the issue more however. I'm using node adapter.
file:///live/server/.prerender/chunks/_virtual_astro_manifest_rMnQekzF.mjs:2614 throw new Error('Could not find server component name ${componentPath}');
^
Error: Could not find server component name /src/components/Forms/AddProductToInquiry.astro at ServerIslandComponent.getIslandContent (file:///live/server/.prerender/chunks/_virtual_astro_manifest_rMnQekzF.mjs:2614:13) at ServerIslandComponent.render (file:///live/server/.prerender/chunks/_virtual_astro_manifest_rMnQekzF.mjs:2566:38) at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
What's the expected result?
Previously working server islands should keep working in v6.
Link to Minimal Reproducible Example
https
Participation
- I am willing to submit a pull request for this issue.