Skip to content

[Error] Docusaurus plugin global data not found for "docusaurus-plugin-content-docs" plugin with id "default". #571

@wang1212

Description

@wang1212

Error

You are using a feature of the Docusaurus docs plugin, but this plugin does not seem to be enabled (pluginId=undefined

Cause:
Docusaurus plugin global data not found for "docusaurus-plugin-content-docs" plugin with id "default".

  • @docusaurus/core@3.10.1
  • @easyops-cn/docusaurus-search-local@0.55.1

docusaurus.config.js:

{
  presets: [
	    [
	      "classic",
	      /** @type {import('@docusaurus/preset-classic').Options} */
	      ({
	        docs: false,
			blog: {
				// ...
			}
		  }),
		],
  ],

  themes: [
    [
      "@easyops-cn/docusaurus-search-local",
      {
        hashed: true,
        language: ["en", "zh"],
        indexDocs: false,
        blogRouteBasePath: "/",
      },
    ],
  ],
}

Downgrading to @easyops-cn/docusaurus-search-local@0.52.2 resolves the error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions