Skip to content

Unable to process local metadata content from .nuxt\component-meta.mjs #101

Description

@Atlinx

I tried using this extension on Windows for a Nuxt content project.

I'm getting this following error when opening a markdown file:

    2026-06-22T17:03:10.560Z [info]: Activating MDC extension...
    2026-06-22T17:03:10.560Z [info]: Registering MDC folding provider...
    2026-06-22T17:03:10.560Z [info]: MDC folding provider registered.
    2026-06-22T17:03:10.560Z [info]: Registering MDC bracket matching...
    2026-06-22T17:03:10.561Z [info]: MDC bracket matching registered.
    2026-06-22T17:03:10.561Z [info]: Registering MDC formatters...
    2026-06-22T17:03:10.561Z [info]: MDC formatters registered.
    2026-06-22T17:03:10.562Z [info]: Fetching MDC component metadata and clearing cache...
    2026-06-22T17:03:10.760Z [info]: Attempting to read metadata file: c:\Users\Demo\vscode-comark-bug\.nuxt\component-meta.mjs
    2026-06-22T17:03:10.764Z [info]: Processing local metadata from: c:\Users\Demo\vscode-comark-bug\.nuxt\component-meta.mjs
    2026-06-22T17:03:10.764Z [info]: Direct JSON parse failed, checking for export pattern...
    2026-06-22T17:03:10.765Z [error]: Unable to process local metadata content from: c:\Users\Demo\vscode-comark-bug\.nuxt\component-meta.mjs
    2026-06-22T17:03:10.765Z [info]: No valid metadata found in available sources.
    2026-06-22T17:03:10.765Z [info]: Initial MDC component metadata fetch completed.

Here's a reproduction project.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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