Troubleshooting
Module Not Found
Error: Cannot find module './file.org?name=block'
Solution: Ensure the block exists and has the correct #+NAME: declaration.
TypeScript Errors
Error: Type errors in org blocks
Solution: Run orgp type-check to see detailed errors with org file locations.
HMR Not Working
Issue: Changes don't reload in browser
Solutions:
- Check the terminal for errors
- Try hard refresh (Ctrl+Shift+R)
- Restart dev server
Build Failures
Error: Build fails with server block errors
Solution: Server blocks (:use server) run at build time. Check they don't depend on browser APIs.
CSS Not Applied
Issue: Styles not showing
Solutions:
- Check CSS block has no
:use silent - Ensure selectors match your HTML
- Check browser dev tools for conflicts
Plugin Not Working
Issue: Plugin block not recognized
Solutions:
- Check plugin is installed:
npm ls @org-press/block-name - Verify plugin is in config:
plugins: [myPlugin] - Check
:use pluginNamesyntax is correct
Getting Help
- GitHub Issues - Report bugs
- Discussions - Ask questions