Skip to content

Failed to Prerender sql_dump.txt from Nuxt Content #754

@AnOrdinaryPeople

Description

@AnOrdinaryPeople

Describe the bug
With @nuxthub/core 0.10.4 and @nuxt/content 3.10.0, using a static preset (static or cloudflare-pages-static) causes Nuxt Content to fail to prerender all sql_dump.txt files. Removing the @nuxthub/core module restores normal prerendering.

The issue doesn't occur when both modules are downgraded (@nuxthub/core 0.10.3 and @nuxt/content 3.9.0). It also doesn't occur when using @nuxthub/core 0.10.4 together with @nuxt/content 3.9.0.

Based on these combinations, idk whether the issue should also be reported to Nuxt Content.

Steps to reproduce
Steps to reproduce the behavior:

  1. https://stackblitz.com/edit/github-n1pcahgr
  2. Run npm run build.
  3. The build fails with prerendering errors.

Expected behavior
All sql_dump.txt files should be prerendered successfully without errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions