Troubleshooting
Common issues and solutions when using DocBox
🚨 Common Errors
"Output directory does not exist"
The output directory [/path/to/docs] does not exist// Option 1: Create the directory first
directoryCreate( expandPath( "/docs" ), true );
// Option 2: Use an existing directory
new docbox.DocBox()
.addStrategy( "HTML", {
outputDir: expandPath( "/existing/path" )
} )
.generate( source: "/src", mapping: "app" );Missing Source Mappings (CLI)
"Cannot read properties of undefined (reading 'toLowerCase')"
Class Not Found
Exclusion Pattern Not Working
🔍 Metadata Issues
Empty Documentation Pages
Generic Types Not Showing
Implements Not Detected
🎨 HTML/UI Issues
Dark Mode Not Persisting
Search Not Working
Theme Not Loading
🛠️ Build Issues
CLI Command Not Found
Memory Issues with Large Codebases
Build Hangs or Takes Too Long
🦤 BoxLang-Specific Issues
BoxLang Module Not Loading
Metadata Format Differences
📊 Strategy-Specific Issues
JSON Output Empty
XMI/UML Strategy Fails
🔧 Debug Tips
Enable Verbose Logging
Check Component Metadata
Validate Output Directory Permissions
📞 Getting Help
📝 Reporting Bugs
Last updated
Was this helpful?