Agent skill
docusaurus-build-fails-with-module-not-found
Sub-skill of docusaurus: Build Fails with Module Not Found (+6).
Install this agent skill to your Project
npx add-skill https://github.com/vamseeachanta/workspace-hub/tree/main/.claude/skills/_archive/development/documentation/docusaurus/build-fails-with-module-not-found
SKILL.md
Build Fails with Module Not Found (+6)
Build Fails with Module Not Found
rm -rf node_modules .docusaurus build
npm install
npm run build
Hot Reload Not Working
npm run clear
npm run start
Broken Links
module.exports = {
onBrokenLinks: 'warn', // Change from 'throw' for debugging
};
i18n Build Issues
npm run build -- --locale en
npm run write-translations -- --locale fr
Debug Mode
DEBUG=docusaurus* npm run build
npm run start -- --port 3001
Algolia Indexing Issues
// Check Algolia configuration
module.exports = {
themeConfig: {
algolia: {
appId: 'YOUR_APP_ID', // Not the API key
apiKey: 'SEARCH_ONLY_KEY', // Search-only API key
indexName: 'your_index',
debug: true, // Enable debug mode
},
},
};
Version Dropdown Not Showing
// Ensure versions.json exists and navbar is configured
module.exports = {
themeConfig: {
navbar: {
items: [
{ type: 'docsVersionDropdown', position: 'right' },
],
},
},
};
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
gsd-complete-milestone
Archive completed milestone and prepare for next version
gsd-reapply-patches
Reapply local modifications after a GSD update
gsd-verify-work
Validate built features through conversational UAT
gsd-thread
Manage persistent context threads for cross-session work
clinical-trial-protocol
Generate clinical trial protocols for medical devices or drugs through a modular, waypoint-based architecture with research-only and full protocol modes.
single-cell-rna-qc
Performs quality control on single-cell RNA-seq data (.h5ad or .h5 files) using scverse best practices with MAD-based filtering and comprehensive visualizations.
Didn't find tool you were looking for?