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

Failed to install starter

Open LucasZapico opened this issue 2 years ago • 6 comments

The following install command found in the strapi docs fails with the following error.

npx create-strapi-starter my-site gatsby-corporate

Error

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:
Error: Command failed with exit code 1: npm view gatsby-corporate name version --silent
    at makeError (/Users/luca/.npm/_npx/ecd569b0a81a6814/node_modules/execa/lib/error.js:60:11)
    at handlePromise (/Users/luca/.npm/_npx/ecd569b0a81a6814/node_modules/execa/index.js:118:26)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async getPackageInfo (/Users/luca/.npm/_npx/ecd569b0a81a6814/node_modules/create-strapi-starter/utils/fetch-npm-starter.js:27:22)
    at async getStarterInfo (/Users/luca/.npm/_npx/ecd569b0a81a6814/node_modules/create-strapi-starter/utils/build-starter.js:109:26)
    at async buildStarter (/Users/luca/.npm/_npx/ecd569b0a81a6814/node_modules/create-strapi-starter/utils/build-starter.js:133:7)

System Notes

  • macOS v11.4
  • node v17.3.0
  • Gatsby v4.5.0

LucasZapico avatar Jan 16 '22 23:01 LucasZapico