Skip to content

The new monorepo's folder can't be used

error: can't create the monorepo in shop: it already has files in it: choose an empty or new folder
hint: Give axle create a new or empty folder whose name is a valid package name.

axle create writes a new monorepo into a folder of its own, and the folder it was given can’t take one:

  • it already has files in it, which Axle won’t mix with the template’s
  • it’s a file, not a folder
  • its name can’t be a package name, which needs lowercase letters, digits, ., _ and -, starting with a letter or a digit

Give a new folder, or an empty one, with a name like my-shop:

Terminal window
axle create my-shop