Skip to content

E701 - Output path is not a directory

Cause

The path passed to --out (or out_dir) already exists but is a file (or a special filesystem entry), not a directory. Scrolly writes index.html plus optional asset files into the output path, so the path must be a directory or a fresh location.

Example

$ touch /tmp/foo
$ scrolly build deck.deck.json --out /tmp/foo   # /tmp/foo is a file

How to fix

Point --out at a directory (existing or to-be-created), or remove the conflicting file first.