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

localhost builds of the Strapi Catalog project now fail

Open dpcunningham opened this issue 2 years ago • 3 comments

Several months ago, this demo project built seamlessly. I want to re-use it as a "scratch" project starter, but I am now running into build failures as follows:

$ yarn create strapi-starter my-project gatsby-catalog
yarn create v1.22.17
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...

success Installed "[email protected]" with binaries:
      - create-strapi-starter
[#############################################################################################################] 119/119?? 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 (/home/dpc/.config/yarn/global/node_modules/create-strapi-starter/utils/fetch-npm-starter.js:19:27)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at async getStarterInfo (/home/dpc/.config/yarn/global/node_modules/create-strapi-starter/utils/build-starter.js:109:26)
    at async buildStarter (/home/dpc/.config/yarn/global/node_modules/create-strapi-starter/utils/build-starter.js:133:7)
Done in 4.65s.

Version checks show the following:

$ yarn --version
1.22.17
$ npm --version
6.14.15
$ npx --version
6.14.15

dpcunningham avatar Dec 20 '21 00:12 dpcunningham