strapi-template-ecommerce icon indicating copy to clipboard operation
strapi-template-ecommerce copied to clipboard

Template installation failed: A template must have a template.json root file

Open silencej opened this issue 3 years ago • 0 comments

yarn create strapi-app app --template https://github.com/strapi/strapi-template-ecommerce

yarn create v1.22.5
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
warning "expo-cli > xdl > @expo/dev-server > @expo/metro-config > [email protected]" has unmet peer dependency "@babel/core@*".
[4/4] 🔨  Building fresh packages...
success Installed "[email protected]" with binaries:
      - create-strapi-app
? Choose your installation type Quickstart (recommended)
Creating a quickstart project.
Creating a new Strapi application at /Users/me/work/strapi/templates/ecommerce/app.
Creating files.
Installing packages-test template.
Error: ⛔️ Template installation failed: A template must have a template.json root file
    at createProject (/Users/me/.config/yarn/global/node_modules/@strapi/generate-new/lib/create-project.js:84:15)
    at async createQuickStartProject (/Users/me/.config/yarn/global/node_modules/@strapi/generate-new/lib/create-quickstart-project.js:23:3)
error Command failed.
Exit code: 1
Command: /usr/local/bin/create-strapi-app
Arguments: app --template https://github.com/strapi/strapi-template-ecommerce
Directory: /Users/me/work/strapi/templates/ecommerce
Output:

info Visit https://yarnpkg.com/en/docs/cli/create for documentation about this command.

silencej avatar Mar 06 '22 12:03 silencej