Skip to content

Nuxt: Build Error with @nuxt/content #14057

Closed

Description

@s1gr1d

I'm creating this issue to better keep track of the problem commented here in the Nuxt tracking issue.

Which SDK are you using?

@sentry/nuxt

SDK Version

8.35.0

Reproduction Example/SDK Setup

Stackblitz

Steps to Reproduce

  • run npm run build

Expected Result

No error

Actual Result

Error during build:

[plugin inject] .nuxt/snapshot/cache/content/parsed/content/document.md: rollup-plugin-inject: failed to parse /home/projects/nuxt-starter-ye7qhs/.nuxt/snapshot/cache/content/parsed/content/document.md. Consider restricting the plugin to particular files via options.include

Activity

  1. s1gr1d commented on Oct 23, 2024

    @s1gr1d
    MemberAuthor

    @asokawotulo, I just tested your reproduction example in Stackblitz and locally as well and I could not reproduce the error you are getting. Can you confirm you are still getting this error?

    Edit: I just saw your reproduction example includes dynamicImportForServerEntry: false. Without this, I can reproduce it 👍

  2. self-assigned this
    on Oct 23, 2024
  3. asokawotulo commented on Oct 23, 2024

    @asokawotulo

    @s1gr1d, does this mean that the dynamicImportForServerEntry: false is no longer required as a workaround for @nuxt/content?

  4. s1gr1d commented on Oct 23, 2024

    @s1gr1d
    MemberAuthor

    Exactly, this is no longer needed after version 8.36.0 (not yet released).

  5. github-actions commented on Oct 31, 2024

    @github-actions
    Contributor

    A PR closing this issue has just been released 🚀

    This issue was referenced by PR #14060, which was included in the 8.36.0 release.

  6. ghost added on Aug 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions