Skip to content

The prune folder isn't empty

error: out isn't an empty folder
hint: axle prune writes into a new or empty folder. Choose another, or delete this one first.

axle prune writes its copy into the folder given with --out, out by default, and that folder already has files in it, often from an earlier prune, or --out names a file. Axle doesn’t mix the copy with other files, so nothing is overwritten.

Delete the folder, or give another one with --out. In a script, delete it first:

Terminal window
rm -rf out && axle prune @acme/web --docker