HAMUR_E0186: hamur cleanup refuses to remove a folder
hamur cleanup refuses to remove a folder. Error HAMUR_E0186 belongs to hamur, config, environment and command line (0001 – 0999).
Message
HAMUR_E0186 Refusing to remove <dir>: it is the root directory
HAMUR_E0186 Refusing to remove <dir>: it is outside <rootDir>
HAMUR_E0186 Refusing to remove <shown>: it holds <shown>
HAMUR_E0186 Refusing to remove <shown>: hamur dev runs there (pid <pid>); run hamur dev stop
Cause
hamur cleanup refuses to remove a folder that is the root, is outside the root, holds a file the app keeps, or is the build directory of a hamur dev that runs.
Fix
Do not set a folder of the config (output, build, cache) to such a path; stop the dev server with hamur dev stop first.