nuxt / content

The file-based CMS for your Nuxt application, powered by Markdown and Vue components.
https://content.nuxt.com
MIT License
3.06k stars 621 forks source link

`rollup-plugin-inject` failed to parse onig.wasm #2520

Open awdr74100 opened 7 months ago

awdr74100 commented 7 months ago

Environment

Reproduction

Start a fresh Nuxt Content project with:

pnpm dlx nuxi@latest init content-app -t content

Define configuration:

export default defineNuxtConfig({
  devtools: { enabled: false },
  modules: ["@nuxt/content"],
  content: {
    highlight: {
      theme: {
        dark: "github-dark",
        light: "github-light",
      },
    },
  },
});

Start the development server:

pnpm dev

Describe the bug

ζˆͺεœ– 2024-01-22 δΈ‹εˆ7 31 21

A warning message appears on the console. Is this the expected result? There seems to be no such problem in the previous version.

Additional context

No response

Logs

No response

TheMrMilchmann commented 7 months ago

FYI, I believe that this is causing code highlighting to fail on 2.11.0 when running in development mode (via nuxi dev).

pi0 commented 7 months ago

You can safely ignore this warning (will be solved in next minor version of Nitro).

If you are facing a syntax highlighter failing to work, it might be another issue. Please provide a reproduction πŸ™πŸΌ

github-actions[bot] commented 1 month ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.

puuble commented 4 weeks ago

Same problem but i don't use @nuxt/content@2.11.0 I think problem from the who is shiki ?