PathAlreadyExistsError
The Cause
Section titled “The Cause”A file or directory already exists at the target path, and the operation is configured to fail when this happens. You’re running in “failIfExist” mode.
The Solution
Section titled “The Solution”To resolve this, you have two options:
- Remove the existing files/directories (if you want to start fresh):
rm -rf path/to/samples- Use overwrite mode when initializing:
thymian sampler:init --overwriteThe --overwrite flag tells Thymian to replace existing files instead of failing when they already exist. Use this when you want to regenerate samples and replace the old ones.