strapi-starter-gatsby-catalog icon indicating copy to clipboard operation
strapi-starter-gatsby-catalog copied to clipboard

Installation error

Open SokichiFujita opened this issue 2 years ago • 2 comments

When I just execute the installation command, following error is displayed. Are there any pre-requirements or something?

➜ node -v
v16.13.1
➜  npx create-strapi-starter my-project gatsby-catalog
? 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 (<anonymous>)
    at getPackageInfo (/Users/s/.npm/_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 (/Users/s/.npm/_npx/ecd569b0a81a6814/node_modules/create-strapi-starter/utils/build-starter.js:109:26)
    at async buildStarter (/Users/s/.npm/_npx/ecd569b0a81a6814/node_modules/create-strapi-starter/utils/build-starter.js:133:7)

SokichiFujita avatar Dec 08 '21 16:12 SokichiFujita