Skip to content

Build fails using server islands and static output mode #498

Closed
@JannikWempe

Description

Astro Info

Astro                    v5.1.3
Node                     v18.20.3
System                   Linux (x64)
Package Manager          npm
Output                   static
Adapter                  @astrojs/vercel
Integrations             none

Describe the Bug

Rendering a server island (adding server:defer to any component), using adapter vercel (can also reproduce it with sst) and output: "static" results in this error:

[NoAdapterInstalledServerIslands]

It works fine with the netlify adapter though.


This is a discussion about the issue on Discord with @louisescher.

What's the expected result?

The build should work using server islands and a static output mode. (It does using the netlify adapter.)

Link to Minimal Reproducible Example

https://stackblitz.com/edit/github-s2hf8p8k

Participation

  • I am willing to submit a pull request for this issue.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions