Module not found: Error: Can't resolve '@theme/DocItemFooter'
See original GitHub issueDescribe the bug
I’m using Docusaurus 2.0.0-rc.1 and getting this error:
Module not found: Error: Can’t resolve ‘@theme/DocItemFooter’ in node_modules/docusaurus-theme-openapi-docs/lib-next/theme/ApiItem’.
My plugin section looks like this:
'@docusaurus/plugin-content-docs',
{
path: 'docs/api/petstore',
routeBasePath: '/api/petstore',
id: 'apiPetstore',
sidebarPath: require.resolve('./sidebars/petstore.js'),
sidebarCollapsible: false,
docLayoutComponent: "@theme/DocPage",
docItemComponent: "@theme/ApiItem",
},
],
Thanks!
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Module not found: Error: Can't resolve 'util' in webpack
The main problem is with Webpack 5. It doesn't preload the polyfill of Node.js. I see that this issue can help you.
Read more >Module not found: Error: Can't resolve... · Issue #88 - GitHub
I am getting the following error after running yarn test. ERROR in ./test/components/FabMenuItemTest.js Module not found: Error: Can't ...
Read more >How to fix 'Module not found: Can't resolve 'http' in ... - YouTube
Your browser can't play this video. ... How to fix ' Module not found : Can't resolve 'http' in ...' error with FCL...
Read more >Can't resolve 'SimpleBar' Error while stencil start
I'm using Covent+Garden-2.3.1 theme, so i download theme from store and try to do stencil start i get below error. Module not found:...
Read more >Module not found: Error: Can't resolve 'net' [Solved] | bobbyhadz
The error Module not found: Error: Can't resolve 'net' occurs because there has been a breaking change in Webpack version 5. To solve...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Apologies @sserrata, it must have been my node_module folder. After removing and installing again, it works now. Also sharing the
package.json:package.jsondependency isSupport for 2.0.0-rc.1 introduced in v1.1.1