-
Notifications
You must be signed in to change notification settings - Fork 242
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
ApiItem not rendering #923
Comments
Getting the same error when upgrading.
package.json:
Getting this for both API docs and non-API docs related to the ApiItem:
|
Looks to be an issue with Docusaurus dependencies not aligning, specifically plugin-content-docs and theme-classic. Personally, I would try deleting the lock file and reinstalling packages. |
That worked. Deleted |
Just deleting |
Awesome, thanks for confirming the fix!
|
Yup, that's expected since Docusaurus is a collection of peer dependencies, many of which are likely not specified in your |
running |
Describe the bug
ApiItem not rendering; build does not succeed and not rendering when running locally.
Expected behavior
Completion of build without errors, ability to visit generated pages without errors.
Current behavior
During build; I get the following error (one for each of the generated pages):
Additional information is provided when running locally:
It seems that there is an issue with the ApiItem, possibly when using in a specific setup (see "Steps to reproduce")
Steps to reproduce
Using the configuration as described in the README, with the only notable difference being that I use a multi-doc instance:
Context
When upgrading I ran into this issue; since all my dependencies seem to match with the demo project, and my configuration is analogous to the one of the README, I think this might be a bug that has not been caught with the quick release of version
4.0.0
.Your Environment
3.5.2
4.0.0
18.16.0
The text was updated successfully, but these errors were encountered: