"No composition found"
"No composition found"
Your directory needs an
index.html with a valid composition. The root element must have a data-composition-id attribute.Fix: Run npx hyperframes init to create a composition from a template, or verify your index.html has the correct structure:index.html
"FFmpeg not found"
"FFmpeg not found"
Local rendering requires FFmpeg installed on your system. Install it for your platform:After installing, run
npx hyperframes doctor to verify the CLI can find it.Lint errors
Lint errors
Run
npx hyperframes lint to check for common structural issues (see CLI: lint):| Error | Meaning |
|---|---|
Missing data-composition-id | Root element needs this attribute. See Compositions. |
Missing class="clip" | Timed visible elements need this class. See Data Attributes. |
| Overlapping timelines | Clips on the same data-track-index cannot overlap in time. |
| Unmuted video elements | Video elements should be muted unless data-has-audio="true" is set. |
| Deprecated attribute names | data-layer and data-end have been replaced. Check the HTML Schema Reference. |
Preview not updating
Preview not updating
Make sure you are editing the
index.html in the project directory. The preview server watches for file changes and auto-reloads.If changes still do not appear:- Check the terminal for errors from the dev server
- Stop and restart
npx hyperframes dev - Hard-refresh the browser: Ctrl+Shift+R (Windows/Linux) or Cmd+Shift+R (macOS)
- Clear the browser cache if CSS changes are not reflected
Render looks different from preview
Render looks different from preview
Use See Rendering: When to Use Each Mode for guidance on choosing between local and Docker rendering.
--docker mode for deterministic output. Local renders may differ due to:- Font availability — different fonts on different platforms cause text reflow
- Chrome version — local Chromium vs. Docker’s pinned version can render slightly differently
- System-specific rendering — GPU compositing, subpixel antialiasing, etc.
Terminal
Docker mode fails to start
Docker mode fails to start
Verify Docker is installed and the daemon is running:Common issues:
Terminal
- Docker not running: Start Docker Desktop or the Docker daemon
- Permission denied: Add your user to the
dockergroup (sudo usermod -aG docker $USER) and restart your shell - Image pull fails: Check your internet connection; the first render downloads the Hyperframes Docker image
Render is slow
Render is slow
Try these optimizations:
- Use
--quality draftduring development for faster encoding - Run
npx hyperframes benchmarkto find the optimal worker count for your system - Use
--gpufor hardware-accelerated encoding (local mode only) - Reduce
--fpsto 24 if 30fps is not needed - Check that your composition does not have unnecessary elements or overly complex animations
System Diagnostics
Runnpx hyperframes doctor to check your environment:
Terminal
doctor reports issues, address them before rendering.
Still Stuck?
If none of the above resolves your issue:- Run
npx hyperframes infoto gather system and project details - Check GitHub Issues for similar reports
- Open a new issue with the output of
npx hyperframes infoand steps to reproduce
Next Steps
Common Mistakes
Coding pitfalls that break compositions
Rendering
Rendering modes, options, and tips
CLI Reference
Full list of CLI commands
Contributing
Report bugs and contribute fixes