Next.js E-commerce Starter not working

System Information
  • Strapi Version:
  • Operating System:
  • Database:
  • Node Version:
  • NPM Version:
  • Yarn Version:

npx create-strapi-starter my-project next-ecommerce

? Choose your installation type Quickstart (recommended)
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at getPackageInfo (C:\Users\DELL\AppData\Local\npm-cache_npx\ecd569b0a81a6814\node_modules\create-strapi-starter\utils\fetch-npm-starter.js:19:27)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async getStarterInfo (C:\Users\DELL\AppData\Local\npm-cache_npx\ecd569b0a81a6814\node_modules\create-strapi-starter\utils\build-starter.js:109:26)
at async buildStarter (C:\Users\DELL\AppData\Local\npm-cache_npx\ecd569b0a81a6814\node_modules\create-strapi-starter\utils\build-starter.js:133:7)

Hello, the next-ecomerce template is deprecated


I guess that you can clone the repo anyway

Try this link instead

  • Using Yarn
    yarn create strapi-app my-app-name --template ecommerce

  • Or using NPM
    npx create-strapi-app my-app-name --template ecommerce