-
-
Notifications
You must be signed in to change notification settings - Fork 726
Closed
Description
Environment
- Operating System:
Linux - Node Version:
v14.17.3 - Nuxt Version:
3.0.0-rc.3 - Package Manager:
[email protected] - Builder:
vite - User Config:
content,modules - Runtime Modules:
@nuxt/[email protected] - Build Modules:
-
Reproduction
https://github.com/imlautaro/content-app
Describe the bug
When you try to override the remark plugins (following the instructions in the documentation), it returns an error.
export default defineNuxtConfig({
content: {
markdown: {
remarkPlugins: () => ['remark-emoji']
}
}
})ERROR Cannot start nuxt: (options.remarkPlugins || []).map is not a function Additional context
No response
Logs
ERROR Cannot start nuxt: (options.remarkPlugins || []).map is not a function 17:05:30
at processMarkdownOptions (node_modules/@nuxt/content/dist/module.mjs:82:57)
at setup (node_modules/@nuxt/content/dist/module.mjs:264:31)
at async Object.normalizedModule (node_modules/@nuxt/kit/dist/index.mjs:583:5)
at async installModule (node_modules/@nuxt/kit/dist/index.mjs:398:3)
at async initNuxt (node_modules/nuxt/dist/index.mjs:1336:7)
at async load (node_modules/nuxi/dist/chunks/dev.mjs:6734:9)
at async Object.invoke (node_modules/nuxi/dist/chunks/dev.mjs:6777:5)
at async _main (node_modules/nuxi/dist/cli.mjs:46:20)pavlexander and ManasMadrecha
Metadata
Metadata
Assignees
Labels
No labels