Open PeterBowater opened 3 years ago
I don't get a package not found error. There's almost no difference for me, between yarn v2 & npx, e.g.
yarn create strapi-starter my-site gatsby-corporate
I get to the prompt; it makes no difference, whether I choose Quick Start or manual, yarn or npx.
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 (\~/.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 (\~/.npm/_npx/ecd569b0a81a6814/node_modules/create-strapi-starter/utils/build-starter.js:109:26) at async buildStarter (\~/.npm/_npx/ecd569b0a81a6814/node_modules/create-strapi-starter/utils/build-starter.js:133:7)
got the same error as @bingalls
is there anyway to get this starter working with strapi 4?
Using documented yarn install command:
yarn create strapi-starter my-site gatsby-corporate
We get :
[1/4] 🔍 Resolving packages... error An unexpected error occurred: "https://registry.npmjs.org/create-strapi-corporate-gatsby: Not found".
Noted that the package is not found on npmjs registry if you manually search.
Seems to be working with npx :)
Thanks :)