I've been playing around with compodocs in order generate documentation for an Angular library, and unfortunately was getting a file name too long error during the generation process.
This is a git issue, and not inherently a problem with compodocs. The solution is to reconfigure git to allow for long files names. Run this at your console:
1git config --system core.longpaths true
And everything started working for me.