Skip to content

A generated file is already there

error: packages/web/src/date-picker.tsx is already there
hint: axle generate never overwrites a file. Move or delete it, or give other values, then run axle generate again. Nothing was written.

axle generate never changes a file that already exists, so that running a generator can’t lose your work. One of the files it would write is there, perhaps from an earlier run with the same values.

Give other values, such as another name, or --folder to write somewhere else. If you mean to start the file again, move or delete it first. --dry-run shows every file a generator would write.