Skip to content

Error when building Astro with @astrojs/db and @astrojs/cloudflare in version v5.0.8 astro:content-asset-propagation] module is not defined #13152

@MarcoAntonioGonCas

Description

@MarcoAntonioGonCas

Astro Info

Astro                    v5.0.8
Node                     v22.12.0
System                   Windows (x64)
Package Manager          bun
Output                   static
Adapter                  @astrojs/cloudflare
Integrations             @astrojs/mdx
                         @astrojs/sitemap
                         astro:db
                         @astrojs/db/file-url

If this issue only occurs in one browser, which browser is a problem?

No response

Describe the Bug

  • Adding @astrojs/db and @astrojs/cloudflare
  • Run the build command (astro build --remote).

Output

[ERROR] [vite] x Build failed in 1.46s
  [astro:content-asset-propagation] module is not defined

image

What's the expected result?

A successful build

Link to Minimal Reproducible Example

https://stackblitz.com/edit/github-qyps5smw?file=README.md

Participation

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs responseIssue needs response from OPpkg: cloudflareRelated to the Cloudflare adapter

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions