Skip to content

Cloudflare build fails on 3.12 #3742

@xvaara

Description

@xvaara

Environment

Cloudflare
bun 1.3
nuxt 4
nuxt/content 3.12.0

Version

v3.12

Reproduction

Don't know how to give you a cloudflare reproduction.

Description

I upgraded and got an error:

Nuxt build error: RollupError: Could not resolve "../../../utils/content/transformers/utils" from "node_modules/@nuxt/content/dist/runtime/internal/preview/collection.js"

I asked claude and it said:

Pinned @nuxt/content to 3.11.2 (removed the ^). Version 3.12.0 has a broken import in its preview module (dist/runtime/internal/preview/collection.js references a non-existent transformers/utils file).

and the build works with the pinned 3.11.2 (does not work with pinned 3.12.0).

Additional context

No response

Logs

Metadata

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