-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot read properties of undefined (reading 'replace') at formatPluginName #10228
Comments
Can you create a minimal repro ? There shouldn't be any issue upgrading docusaurus version, this might come from your setup |
Please try again, this might be a temporary issue we had recently. Until a runnable repro is provided (using https://docusaurus.new/stackblitz or GitHub), I'm going to close |
I've written a custom plugin that returns |
Curious to know more about this use-case Maybe we could allow that |
Forgot to mention but this original issue is related to #10239 We need plugins to have a name But we could also allow a plugin to return null eventually, as a convenient way to self-disable depending on options 🤷♂️ can you explain that need @htmlin ? Even if we allow this, this would only be a "shortcut" because you could also decide from the config file to filter out the plugin from the |
Note that we even have a use-case for this internally: So let's add the ability to return null! |
If I return a |
This will be supported soon (v3.5) PR: #10286 |
Have you read the Contributing Guidelines on issues?
Prerequisites
npm run clear
oryarn clear
command.rm -rf node_modules yarn.lock package-lock.json
and re-installing packages.Description
I report this error when I start the project
Reproducible demo
No response
Steps to reproduce
I updated the version to 3.4.0 and then started the project, and the terminal reported this error
Expected behavior
The project can be started normally
Actual behavior
1
Your environment
Self-service
The text was updated successfully, but these errors were encountered: