Report: flagship/benchmark Strapi + Gatsby demo projects fail to build

Report: flagship/benchmark Strapi + Gatsby demo projects fail to build.

Motivation:

Currently (c Dec 2021), anyone evaluating Strapi for use with the very popular Gatsby SSG framework is likely to run into build failures on the “starter” projects, which reflects poorly on the quality of the (rather amazing) Strapi CMS.

Background:

We want to deploy a production Strapi + PostgreSQL CMS back-end on GCP (Google Cloud Platform) and a Gatsby front-end on GLP (GitLab Pages).

Our initial exploratory development leveraged an excellent set of demos available from the Strapi + Gatsby “starter project” collection, which served as extremely useful templates for development. In fact, the strength of these demo projects was pivotal in our choice of Strapi + Gatsby as a basis for our PWA architecture.

Synopsis:

Previously-seamless builds for flagship demos now fail.

After a successful demo to C-level management, we got a green light to initiate a new round of development. Step one involves reusing the benchmark “Catalog Starter” project. Unfortunately, these “off-the-shelf” demo projects now fail to build:

  • yarn-based builds fail:
  • npx-based builds fail:
  • npx builds using a version flag (@3) will succeed:

…although there are some partial work-arounds (details below):

Details/Logs are listed in the comments below.

Scope & Severity:

We have verified that the current “off the shelf” download-and-build cycles for the Strapi Gatsby starter project collection all fail:

Details and error logs are in the comments below.

So, currently (c Dec 2021), anyone evaluating Strapi for use with the very popular Gatsby SSG framework is likely to run into this issue, which reflects poorly on the quality of the (rather amazing) Strapi CMS.

Environment:

  • Linux Mint 19.x LTS, with previous successful build deployments to GCP (back-end) and GLP (front-end)
  • Version checks for build software show the following:
  $ yarn --version
  1.22.17
  $ npm --version
  6.14.15
  $ npx --version
  6.14.15

Work-Arounds:

There is a partial workaround per this issue (on Strapi’s GitHub repo): gatsby-catalog starter failed to create

  • Try building with: npx create-strapi-starter@3 my-project gatsby-blog
    • …which uses a npm/npx flag to pull a specific version.
      • e.g.: npm exec -- <pkg>[@<version>] [args...]
    • …but this is only a partial work-around for npx-based build cycles,
  • This approach does not solve the now-broken yarn-based build process.
    • We could not find a corresponding yarn flag to make a build from a specific version.
      • Disclaimer: most of our development experience is in mobile apps based on Ionic, which (with its Angular heritage) is strongly oriented around the use of npm. We simply don’t have enough experience with yarn to know if it has corresponding versioning capabilities.
      • …however, we have found that (for our purposes) GCP deployments (strongly) favor yarn-based approaches for the Gatbsy starter projects.
    • So we would like to see the yarn-based build cycles reestablished.

Session Log: Build Failure for strapi-starter-gatsby-blog

Clone the project repo:

$ git clone https://github.com/strapi/strapi-starter-gatsby-blog.git
Cloning into 'strapi-starter-gatsby-blog'...
remote: Enumerating objects: 705, done.
remote: Counting objects: 100% (147/147), done.
remote: Compressing objects: 100% (112/112), done.
remote: Total 705 (delta 71), reused 90 (delta 35), pack-reused 558
Receiving objects: 100% (705/705), 184.20 MiB | 32.12 MiB/s, done.
Resolving deltas: 100% (293/293), done.

$ cd strapi-starter-gatsby-blog/

$ ls
LICENSE.txt  README.md  screenshot.png  starter  starter.json  yarn.lock

yarn-based build fails:

$ yarn create strapi-starter my-project gatsby-blog
yarn create v1.22.17
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Installed "create-strapi-starter@4.0.0" with binaries:
      - create-strapi-starter
? 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 5.88s.

npx-based build fails:

$ npx create-strapi-starter my-project gatsby-blog
? 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)

npx using version flag succeeds:

$ npx create-strapi-starter@3 my-project gatsby-blog
npx: installed 159 in 9.446s
? Choose your installation type Quickstart (recommended)
Creating a quickstart project.
Creating a new Strapi application at /home/dpc/dpc.data/local.FS/lfs.03-Projects.Active/project.MindCurrent/dev/on.GitLab/develop/build/back-ends/prototypes/headless-CMSs/test.strapi-gatsby-demo-projects/strapi-starter-gatsby-blog/my-project/backend.
Creating files.
Installing strapi/strapi-template-blog template.
Dependencies installed successfully.

Your application was created at /home/dpc/dpc.data/local.FS/lfs.03-Projects.Active/project.MindCurrent/dev/on.GitLab/develop/build/back-ends/prototypes/headless-CMSs/test.strapi-gatsby-demo-projects/strapi-starter-gatsby-blog/my-project/backend.

Available commands in your project:

  yarn develop
  Start Strapi in watch mode.

  yarn start
  Start Strapi without watch mode.

  yarn build
  Build Strapi admin panel.

  yarn strapi
  Display all available commands.

You can start by doing:

  cd /home/dpc/dpc.data/local.FS/lfs.03-Projects.Active/project.MindCurrent/dev/on.GitLab/develop/build/back-ends/prototypes/headless-CMSs/test.strapi-gatsby-demo-projects/strapi-starter-gatsby-blog/my-project/backend
  yarn develop

Creating Strapi starter frontend at /home/dpc/dpc.data/local.FS/lfs.03-Projects.Active/project.MindCurrent/dev/on.GitLab/develop/build/back-ends/prototypes/headless-CMSs/test.strapi-gatsby-demo-projects/strapi-starter-gatsby-blog/my-project/frontend.
Installing strapi/strapi-starter-gatsby-blog starter
Dependencies installed successfully.
Dependencies installed successfully.
Starting the app
yarn run v1.22.17
$ cross-env FORCE_COLOR=1 npm-run-all -l -p develop:*
$ yarn --cwd backend develop
$ wait-on http://localhost:1337/admin && yarn --cwd frontend develop
$ strapi develop
[develop:backend ] Building your admin UI with development configuration ...
[develop:backend ] ℹ Compiling Webpack
[develop:backend ] ✔ Webpack: Compiled successfully in 33.07s
[develop:backend ] [2021-12-21T22:19:18.429Z] info File created: /home/dpc/dpc.data/local.FS/lfs.03-Projects.Active/project.MindCurrent/dev/on.GitLab/develop/build/back-ends/prototypes/headless-CMSs/test.strapi-gatsby-demo-projects/strapi-starter-gatsby-blog/my-project/backend/extensions/users-permissions/config/jwt.js
[develop:backend ] Setting up the template...
[develop:backend ] Ready to go
[develop:backend ] 
[develop:backend ]  Project information
[develop:backend ] 
[develop:backend ] ┌────────────────────┬──────────────────────────────────────────────────┐
[develop:backend ] │ Time               │ Tue Dec 21 2021 14:19:25 GMT-0800 (Pacific Stan… │
[develop:backend ] │ Launched in        │ 17739 ms                                         │
[develop:backend ] │ Environment        │ development                                      │
[develop:backend ] │ Process PID        │ 18098                                            │
[develop:backend ] │ Version            │ 3.6.8 (node v14.17.4)                            │
[develop:backend ] │ Edition            │ Community                                        │
[develop:backend ] └────────────────────┴──────────────────────────────────────────────────┘
[develop:backend ] 
[develop:backend ]  Actions available
[develop:backend ] 
[develop:backend ] One more thing...
[develop:backend ] Create your first administrator 💻 by going to the administration panel at:
[develop:backend ] 
[develop:backend ] ┌─────────────────────────────┐
[develop:backend ] │ http://localhost:1337/admin │
[develop:backend ] └─────────────────────────────┘
[develop:backend ] 
[develop:backend ] [2021-12-21T22:19:25.268Z] debug HEAD /admin (31 ms) 200
[develop:backend ] [2021-12-21T22:19:25.338Z] debug HEAD /admin (3 ms) 200
[develop:backend ] [2021-12-21T22:19:25.339Z] info ⏳ Opening the admin panel...
$ gatsby develop --open
[develop:backend ] [2021-12-21T22:19:26.134Z] debug GET /admin (2 ms) 200
[develop:backend ] [2021-12-21T22:19:26.300Z] debug GET /admin/runtime~main.dbd09018.js (17 ms) 200
[develop:backend ] [2021-12-21T22:19:26.309Z] debug GET /admin/main.79b50822.chunk.js (8 ms) 200
[develop:backend ] [2021-12-21T22:19:28.357Z] debug GET /admin/init (6 ms) 200
[develop:backend ] [2021-12-21T22:19:28.966Z] debug GET /admin/07109cdae9f760e8d97c89788c9dc9df.png (3 ms) 200
[develop:backend ] [2021-12-21T22:19:29.044Z] debug GET /admin/842e7845f3f8e943ff712a39617b6b70.svg (5 ms) 200
[develop:backend ] [2021-12-21T22:19:29.076Z] debug GET /admin/75614cfcfedd509b1f7ac1c26c53bb7f.woff2 (18 ms) 200
[develop:backend ] [2021-12-21T22:19:29.078Z] debug GET /admin/a6069540692725c247f13984a9598a92.woff2 (16 ms) 200
[develop:backend ] [2021-12-21T22:19:29.091Z] debug GET /admin/21b3848a32fce5b0f5014948186f6964.woff2 (6 ms) 200
[develop:frontend] info We're shipping new features! For final testing, we're rolling them out
[develop:frontend] first to a small % of Gatsby users
[develop:frontend] and your site was automatically chosen as one of them. With your help, we'll
[develop:frontend] then release them to everyone in the next minor release.
[develop:frontend] 
[develop:frontend] We greatly appreciate your help testing the change. Please report any feedback
[develop:frontend] good or bad in the umbrella issue. If you do encounter problems, please disable
[develop:frontend] the flag by setting it to false in your gatsby-config.js like:
[develop:frontend] 
[develop:frontend] flags: {
[develop:frontend]   THE_FLAG: false
[develop:frontend] }
[develop:frontend] 
[develop:frontend] The following flags were automatically enabled on your site:
[develop:frontend] - DEV_SSR · (Umbrella Issue (https://gatsby.dev/dev-ssr-feedback)) · Server Side
[develop:frontend]  Render (SSR) pages on full reloads during develop. Helps you detect SSR bugs
[develop:frontend] and fix them without needing to do full builds.
[develop:frontend] 
success open and validate gatsby-configs - 0.143s
success load plugins - 2.421s
success onPreInit - 0.053s
success initialize cache - 0.009s
success copy gatsby files - 0.089s
success onPreBootstrap - 0.032s
success createSchemaCustomization - 0.006s
info Starting to fetch data from Strapi - http://localhost:1337/articles with
[develop:frontend] params {"_limit":1000}
info Starting to fetch data from Strapi - http://localhost:1337/categories with
[develop:frontend] params {"_limit":1000}
info Starting to fetch data from Strapi - http://localhost:1337/writers with
[develop:frontend] params {"_limit":1000}
info Starting to fetch data from Strapi - http://localhost:1337/homepage with
[develop:frontend] params {"_limit":1000}
info Starting to fetch data from Strapi - http://localhost:1337/global with
[develop:frontend] params {"_limit":1000}
[develop:frontend] 
[develop:backend ] [2021-12-21T22:19:37.663Z] debug GET /articles?_limit=1000 (89 ms) 200
[develop:backend ] [2021-12-21T22:19:37.682Z] debug GET /categories?_limit=1000 (99 ms) 200
[develop:backend ] [2021-12-21T22:19:37.701Z] debug GET /writers?_limit=1000 (114 ms) 200
[develop:backend ] [2021-12-21T22:19:37.710Z] debug GET /uploads/daviddoe_strapi_io_09aa0f249b.jpg (4 ms) 200
[develop:backend ] [2021-12-21T22:19:37.711Z] debug GET /uploads/sarahbaker_strapi_io_f6e6a84106.jpg (3 ms) 200
[develop:backend ] [2021-12-21T22:19:37.716Z] debug GET /homepage?_limit=1000 (124 ms) 200
[develop:backend ] [2021-12-21T22:19:37.719Z] debug GET /uploads/a_bug_is_becoming_a_meme_on_the_internet_e7fdbd0ba6.jpg (6 ms) 200
[develop:backend ] [2021-12-21T22:19:37.723Z] debug GET /global?_limit=1000 (128 ms) 200
[develop:backend ] [2021-12-21T22:19:37.730Z] debug GET /uploads/what_s_inside_a_black_hole_44d6b8e837.jpg (12 ms) 200
[develop:backend ] [2021-12-21T22:19:37.733Z] debug GET /uploads/we_love_pizza_f4f01fe4e0.jpg (13 ms) 200
[develop:backend ] [2021-12-21T22:19:37.735Z] debug GET /uploads/this_shrimp_is_awesome_06aaf48d7e.jpg (4 ms) 200
[develop:backend ] [2021-12-21T22:19:37.740Z] debug GET /uploads/the_internet_s_own_boy_64c4609e1c.jpg (6 ms) 200
[develop:backend ] [2021-12-21T22:19:37.742Z] debug GET /uploads/default_image_42607d6719.png (6 ms) 200
[develop:backend ] [2021-12-21T22:19:37.743Z] debug GET /uploads/default_image_1f6f293916.png (4 ms) 200
[develop:backend ] [2021-12-21T22:19:37.808Z] debug GET /uploads/beautiful_picture_1825c1fe68.jpg (2 ms) 200
success Fetched Strapi Data - 0.472s
success Checking for changed pages - 0.001s
success source and transform nodes - 0.577s
success building schema - 1.032s
info Total nodes: 75, SitePage nodes: 1 (use --verbose for breakdown)
success createPages - 0.006s
success Checking for changed pages - 0.000s
success createPagesStatefully - 0.185s
success update schema - 0.084s
success write out redirect data - 0.001s
success Build manifest and related icons - 0.103s
success onPostBootstrap - 0.108s
info bootstrap finished - 9.008s
success onPreExtractQueries - 0.001s
success extract queries from components - 1.812s
success write out requires - 0.011s
success run static queries - 2.265s - 4/4 1.77/s
success run page queries - 0.011s - 3/3 267.16/s
warn Browserslist: caniuse-lite is outdated. Please run:
[develop:frontend] npx browserslist@latest --update-db
[develop:frontend] 
[develop:frontend] Why you should do it regularly:
[develop:frontend] https://github.com/browserslist/browserslist#browsers-data-updating
warn Browserslist: caniuse-lite is outdated. Please run:
[develop:frontend] npx browserslist@latest --update-db
[develop:frontend] 
[develop:frontend] Why you should do it regularly:
[develop:frontend] https://github.com/browserslist/browserslist#browsers-data-updating
warn Browserslist: caniuse-lite is outdated. Please run:
[develop:frontend] npx browserslist@latest --update-db
[develop:frontend] 
[develop:frontend] Why you should do it regularly:
[develop:frontend] https://github.com/browserslist/browserslist#browsers-data-updating
⠀
You can now view gatsby-starter-default in the browser.
⠀
  http://localhost:8000/
⠀
View GraphiQL, an in-browser IDE, to explore your site's data and schema
⠀
  http://localhost:8000/___graphql
⠀
Note that the development build is not optimized.
To create a production build, use gatsby build
⠀
success Building development bundle - 14.493s
success onPreExtractQueries - 0.008s
success extract queries from components - 0.123s
success write out requires - 0.017s
success run page queries - 1.648s - 1/1 0.61/s
[develop:frontend] 
^C^C^Cdpc@LT3-Insp17-2017:strapi-starter-gatsby-blog$ npx create-strapi-starter@3 my-project gatsby-blog

Session Log: Build Failure for strapi-starter-gatsby-corporate

Clone the project repo:

$ git clone https://github.com/strapi/strapi-starter-gatsby-corporate.git
Cloning into 'strapi-starter-gatsby-corporate'...
remote: Enumerating objects: 487, done.
remote: Counting objects: 100% (487/487), done.
remote: Compressing objects: 100% (288/288), done.
remote: Total 487 (delta 279), reused 362 (delta 175), pack-reused 0
Receiving objects: 100% (487/487), 580.05 KiB | 6.59 MiB/s, done.
Resolving deltas: 100% (279/279), done.
dpc@LT3-Insp17-2017:test.strapi-gatsby-demo-projects$ ls
strapi-starter-gatsby-blog  strapi-starter-gatsby-corporate

$ cd strapi-starter-gatsby-corporate/
$ ls
LICENSE.txt  README.md  starter  starter.json

yarn-based build fails:

$ # Using Yarn
$ yarn create strapi-starter my-site gatsby-corporate
yarn create v1.22.17
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Installed "create-strapi-starter@4.0.2" with binaries:
      - create-strapi-starter
? 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 143.23s. 

npx-based build fails:

dpc@LT3-Insp17-2017:strapi-starter-gatsby-corporate$ # Or using NPM
dpc@LT3-Insp17-2017:strapi-starter-gatsby-corporate$ npx create-strapi-starter my-site gatsby-corporate
? 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)
$ 

npx using version flag succeeds:

$ npx create-strapi-starter@3 my-site gatsby-corporate
npx: installed 159 in 9.22s
? Choose your installation type Quickstart (recommended)
Creating a quickstart project.
Creating a new Strapi application at /home/dpc/dpc.data/local.FS/lfs.03-Projects.Active/project.MindCurrent/dev/on.GitLab/develop/build/back-ends/prototypes/headless-CMSs/test.strapi-gatsby-demo-projects/strapi-starter-gatsby-corporate/my-site/backend.
Creating files.
Installing strapi/strapi-template-corporate template.
Dependencies installed successfully.

Your application was created at /home/dpc/dpc.data/local.FS/lfs.03-Projects.Active/project.MindCurrent/dev/on.GitLab/develop/build/back-ends/prototypes/headless-CMSs/test.strapi-gatsby-demo-projects/strapi-starter-gatsby-corporate/my-site/backend.

Available commands in your project:

  yarn develop
  Start Strapi in watch mode.

  yarn start
  Start Strapi without watch mode.

  yarn build
  Build Strapi admin panel.

  yarn strapi
  Display all available commands.

You can start by doing:

  cd /home/dpc/dpc.data/local.FS/lfs.03-Projects.Active/project.MindCurrent/dev/on.GitLab/develop/build/back-ends/prototypes/headless-CMSs/test.strapi-gatsby-demo-projects/strapi-starter-gatsby-corporate/my-site/backend
  yarn develop

Creating Strapi starter frontend at /home/dpc/dpc.data/local.FS/lfs.03-Projects.Active/project.MindCurrent/dev/on.GitLab/develop/build/back-ends/prototypes/headless-CMSs/test.strapi-gatsby-demo-projects/strapi-starter-gatsby-corporate/my-site/frontend.
Installing strapi/strapi-starter-gatsby-corporate starter
Dependencies installed successfully.
Dependencies installed successfully.
Starting the app
yarn run v1.22.17
$ cross-env FORCE_COLOR=1 npm-run-all -l -p develop:*
$ yarn --cwd backend develop
$ wait-on http://localhost:1337/admin && yarn --cwd frontend develop
$ strapi develop
[develop:backend ] Building your admin UI with development configuration ...
[develop:backend ] ℹ Compiling Webpack
[develop:backend ] ✔ Webpack: Compiled successfully in 40.18s
[develop:backend ] [2021-12-22T22:09:40.054Z] info File created: /home/dpc/dpc.data/local.FS/lfs.03-Projects.Active/project.MindCurrent/dev/on.GitLab/develop/build/back-ends/prototypes/headless-CMSs/test.strapi-gatsby-demo-projects/strapi-starter-gatsby-corporate/my-site/backend/extensions/users-permissions/config/jwt.js
[develop:backend ] 
[develop:backend ]  Project information
[develop:backend ] 
[develop:backend ] ┌────────────────────┬──────────────────────────────────────────────────┐
[develop:backend ] │ Time               │ Wed Dec 22 2021 14:09:55 GMT-0800 (Pacific Stan… │
[develop:backend ] │ Launched in        │ 27562 ms                                         │
[develop:backend ] │ Environment        │ development                                      │
[develop:backend ] │ Process PID        │ 26785                                            │
[develop:backend ] │ Version            │ 3.6.8 (node v14.17.4)                            │
[develop:backend ] │ Edition            │ Community                                        │
[develop:backend ] └────────────────────┴──────────────────────────────────────────────────┘
[develop:backend ] 
[develop:backend ]  Actions available
[develop:backend ] 
[develop:backend ] One more thing...
[develop:backend ] Create your first administrator 💻 by going to the administration panel at:
[develop:backend ] 
[develop:backend ] ┌─────────────────────────────┐
[develop:backend ] │ http://localhost:1337/admin │
[develop:backend ] └─────────────────────────────┘
[develop:backend ] 
[develop:backend ] [2021-12-22T22:09:55.389Z] debug HEAD /admin (26 ms) 200
[develop:backend ] [2021-12-22T22:09:55.463Z] debug HEAD /admin (5 ms) 200
[develop:backend ] [2021-12-22T22:09:55.465Z] info ⏳ Opening the admin panel...
$ gatsby develop --open
[develop:backend ] [2021-12-22T22:09:56.391Z] debug GET /admin (6 ms) 200
[develop:backend ] [2021-12-22T22:09:56.801Z] debug GET /admin/runtime~main.dbd09018.js (14 ms) 200
[develop:backend ] [2021-12-22T22:09:56.805Z] debug GET /admin/main.79b50822.chunk.js (6 ms) 200
[develop:backend ] [2021-12-22T22:09:57.772Z] debug GET /favicon.ico (0 ms) 200
[develop:backend ] [2021-12-22T22:09:57.933Z] debug POST /graphql (115 ms) 200
[develop:backend ] [2021-12-22T22:09:58.825Z] debug GET /admin/init (4 ms) 200
[develop:backend ] [2021-12-22T22:09:59.586Z] debug GET /admin/07109cdae9f760e8d97c89788c9dc9df.png (3 ms) 200
[develop:backend ] [2021-12-22T22:09:59.686Z] debug GET /admin/842e7845f3f8e943ff712a39617b6b70.svg (5 ms) 200
[develop:backend ] [2021-12-22T22:09:59.699Z] debug GET /admin/75614cfcfedd509b1f7ac1c26c53bb7f.woff2 (2 ms) 200
[develop:backend ] [2021-12-22T22:09:59.771Z] debug GET /admin/a6069540692725c247f13984a9598a92.woff2 (4 ms) 200
[develop:backend ] [2021-12-22T22:09:59.805Z] debug GET /admin/21b3848a32fce5b0f5014948186f6964.woff2 (5 ms) 200
[develop:frontend] info
[develop:frontend] 
[develop:frontend] There are 3 other flags available that you might be interested in:
[develop:frontend] - FAST_DEV · Enable all experiments aimed at improving develop server start time
[develop:frontend] - DEV_SSR · (Umbrella Issue (https://gatsby.dev/dev-ssr-feedback)) · Server Side
[develop:frontend]  Render (SSR) pages on full reloads during develop. Helps you detect SSR bugs
[develop:frontend] and fix them without needing to do full builds.
[develop:frontend] - PRESERVE_WEBPACK_CACHE · (Umbrella Issue
[develop:frontend] (https://gatsby.dev/cache-clearing-feedback)) · Don't delete webpack's cache
[develop:frontend] when changing gatsby-node.js & gatsby-config.js files.
[develop:frontend] - PRESERVE_FILE_DOWNLOAD_CACHE · (Umbrella Issue
[develop:frontend] (https://gatsby.dev/cache-clearing-feedback)) · Don't delete the downloaded
[develop:frontend] files cache when changing gatsby-node.js & gatsby-config.js files.
[develop:frontend] - PARALLEL_SOURCING · EXPERIMENTAL · (Umbrella Issue
[develop:frontend] (https://gatsby.dev/parallel-sourcing-feedback)) · Run all source plugins at the
[develop:frontend]  same time instead of serially. For sites with multiple source plugins, this can
[develop:frontend]  speedup sourcing and transforming considerably.
[develop:frontend] 
success open and validate gatsby-configs - 0.193s
success load plugins - 1.732s
success onPreInit - 0.090s
success initialize cache - 0.012s
success copy gatsby files - 0.178s
success onPreBootstrap - 0.037s
success createSchemaCustomization - 0.007s
info Starting to fetch data from Strapi - http://localhost:1337/pages with
[develop:frontend] params {"_limit":1000,"_publicationState":"preview","_locale":"all"}
info Starting to fetch data from Strapi - http://localhost:1337/global with
[develop:frontend] params {"_limit":1000,"_locale":"en"}
info Starting to fetch data from Strapi - http://localhost:1337/global with
[develop:frontend] params {"_limit":1000,"_locale":"fr"}
[develop:frontend] 
[develop:backend ] [2021-12-22T22:10:08.529Z] debug POST /graphql (53 ms) 200
[develop:backend ] [2021-12-22T22:10:09.003Z] debug GET /pages?_limit=1000&_publicationState=preview&_locale=all (469 ms) 200
[develop:backend ] [2021-12-22T22:10:09.014Z] debug GET /global?_limit=1000&_locale=en (472 ms) 200
[develop:backend ] [2021-12-22T22:10:09.033Z] debug GET /global?_limit=1000&_locale=fr (485 ms) 200
[develop:backend ] [2021-12-22T22:10:09.058Z] debug GET /uploads/undraw_content_team_a85599f5f3.png (4 ms) 200
[develop:backend ] [2021-12-22T22:10:09.059Z] debug GET /uploads/undraw_content_team_18764c4c73.png (3 ms) 200
[develop:backend ] [2021-12-22T22:10:09.066Z] debug GET /uploads/undraw_content_team_22404387c7.png (7 ms) 200
[develop:backend ] [2021-12-22T22:10:09.068Z] debug GET /uploads/undraw_content_team_eacb35338d.png (6 ms) 200
[develop:backend ] [2021-12-22T22:10:09.106Z] debug GET /uploads/undraw_content_team_ee9e2bce9c.svg (2 ms) 200
[develop:backend ] [2021-12-22T22:10:09.111Z] debug GET /uploads/undraw_content_team_e2404bff54.svg (4 ms) 200
[develop:backend ] [2021-12-22T22:10:09.111Z] debug GET /uploads/logo_52370df5b0.png (2 ms) 200
[develop:backend ] [2021-12-22T22:10:09.112Z] debug GET /uploads/logo_249dff99bd.png (2 ms) 200
[develop:backend ] [2021-12-22T22:10:09.123Z] debug GET /uploads/undraw_design_page_a805f163be.svg (1 ms) 200
[develop:backend ] [2021-12-22T22:10:09.150Z] debug GET /uploads/undraw_design_page_b283e7c9da.svg (5 ms) 200
[develop:backend ] [2021-12-22T22:10:09.150Z] debug GET /uploads/logo_97108465bc.png (4 ms) 200
[develop:backend ] [2021-12-22T22:10:09.151Z] debug GET /uploads/logo_35c541c1d3.png (3 ms) 200
[develop:backend ] [2021-12-22T22:10:09.155Z] debug GET /uploads/undraw_create_page_dd137ade37.svg (3 ms) 200
[develop:backend ] [2021-12-22T22:10:09.192Z] debug GET /uploads/undraw_create_page_4e9011e785.svg (4 ms) 200
[develop:backend ] [2021-12-22T22:10:09.193Z] debug GET /uploads/favicon_41e96f9e23.png (4 ms) 200
[develop:backend ] [2021-12-22T22:10:09.195Z] debug GET /uploads/favicon_a3a6ff9ddd.png (4 ms) 200
[develop:backend ] [2021-12-22T22:10:09.196Z] debug GET /uploads/preview_d64bf25877.svg (3 ms) 200
[develop:backend ] [2021-12-22T22:10:09.243Z] debug GET /uploads/preview_5078450e0e.svg (3 ms) 200
[develop:backend ] [2021-12-22T22:10:09.244Z] debug GET /uploads/devices_37835a6c84.svg (2 ms) 200
[develop:backend ] [2021-12-22T22:10:09.283Z] debug GET /uploads/devices_5155dca8c5.svg (4 ms) 200
[develop:backend ] [2021-12-22T22:10:09.286Z] debug GET /uploads/palette_57342bd6b1.svg (4 ms) 200
[develop:backend ] [2021-12-22T22:10:09.342Z] debug GET /uploads/palette_20ce9727d7.svg (7 ms) 200
[develop:backend ] [2021-12-22T22:10:09.344Z] debug GET /uploads/logo_4c9a5d7893.png (8 ms) 200
[develop:backend ] [2021-12-22T22:10:09.398Z] debug GET /uploads/logo_751f7c8d95.png (6 ms) 200
[develop:backend ] [2021-12-22T22:10:09.412Z] debug GET /uploads/logo_6d02e43dfb.png (9 ms) 200
[develop:backend ] [2021-12-22T22:10:09.462Z] debug GET /uploads/logo_65d8747fab.png (3 ms) 200
[develop:backend ] [2021-12-22T22:10:09.473Z] debug GET /uploads/logo_394bf2014a.png (4 ms) 200
[develop:backend ] [2021-12-22T22:10:09.504Z] debug GET /uploads/logo_c84abf9c79.png (2 ms) 200
[develop:backend ] [2021-12-22T22:10:09.505Z] debug GET /uploads/logo_703d2adb9f.png (2 ms) 200
[develop:backend ] [2021-12-22T22:10:09.545Z] debug GET /uploads/logo_c2d4f2e4a8.png (3 ms) 200
[develop:backend ] [2021-12-22T22:10:09.562Z] debug GET /uploads/user_3bb0191d53.png (11 ms) 200
success Fetched Strapi Data - 1.268s
success Checking for changed pages - 0.002s
success source and transform nodes - 1.463s
success building schema - 1.300s
info Total nodes: 111, SitePage nodes: 9 (use --verbose for breakdown)
success createPages - 0.122s
success Checking for changed pages - 0.001s
success createPagesStatefully - 0.105s
success update schema - 0.043s
success write out redirect data - 0.004s
success Build manifest and related icons - 0.095s
success onPostBootstrap - 0.102s
info bootstrap finished - 10.378s
success onPreExtractQueries - 0.001s
[develop:frontend] 
success extract queries from components - 2.682s
success write out requires - 0.012s
success run page queries - 0.129s - 3/3 23.22/s
[develop:frontend] 
warn Browserslist: caniuse-lite is outdated. Please run:
[develop:frontend] npx browserslist@latest --update-db
[develop:frontend] 
[develop:frontend] Why you should do it regularly:
[develop:frontend] https://github.com/browserslist/browserslist#browsers-data-updating
[develop:frontend] 
[develop:backend ] [2021-12-22T22:10:17.719Z] debug POST /graphql (32 ms) 200
[develop:backend ] [2021-12-22T22:10:20.770Z] debug POST /graphql (29 ms) 200
[develop:backend ] [2021-12-22T22:10:23.859Z] debug POST /graphql (55 ms) 200
[develop:backend ] [2021-12-22T22:10:26.909Z] debug POST /graphql (22 ms) 200
[develop:backend ] [2021-12-22T22:10:29.975Z] debug POST /graphql (43 ms) 200
[develop:backend ] [2021-12-22T22:10:33.053Z] debug POST /graphql (28 ms) 200
[develop:backend ] [2021-12-22T22:10:36.101Z] debug POST /graphql (28 ms) 200
[develop:backend ] [2021-12-22T22:10:39.153Z] debug POST /graphql (34 ms) 200
[develop:backend ] [2021-12-22T22:10:42.194Z] debug POST /graphql (24 ms) 200
⠀
You can now view gatsby-starter-default in the browser.
⠀
  http://localhost:8000/
⠀
View GraphiQL, an in-browser IDE, to explore your site's data and schema
⠀
  http://localhost:8000/___graphql
⠀
Note that the development build is not optimized.
To create a production build, use gatsby build
⠀
success Building development bundle - 33.455s
[develop:frontend] 
[develop:backend ] [2021-12-22T22:10:48.375Z] debug POST /graphql (99 ms) 200
[develop:backend ] [2021-12-22T22:10:50.253Z] debug GET /uploads/undraw_content_team_e2404bff54.svg (10 ms) 200
[develop:backend ] [2021-12-22T22:10:50.257Z] debug GET /uploads/undraw_design_page_b283e7c9da.svg (8 ms) 200
[develop:backend ] [2021-12-22T22:10:50.261Z] debug GET /uploads/undraw_create_page_4e9011e785.svg (7 ms) 200
[develop:backend ] [2021-12-22T22:10:50.264Z] debug GET /uploads/preview_5078450e0e.svg (6 ms) 200
[develop:backend ] [2021-12-22T22:10:50.269Z] debug GET /uploads/devices_5155dca8c5.svg (8 ms) 200
[develop:backend ] [2021-12-22T22:10:50.270Z] debug GET /uploads/palette_20ce9727d7.svg (5 ms) 200
[develop:backend ] [2021-12-22T22:10:50.271Z] debug GET /uploads/user_e6ecb8e059.png (4 ms) 200
[develop:backend ] [2021-12-22T22:10:50.280Z] debug GET /uploads/logo_c2d4f2e4a8.png (6 ms) 200
[develop:backend ] [2021-12-22T22:10:50.283Z] debug GET /uploads/logo_751f7c8d95.png (5 ms) 200
[develop:backend ] [2021-12-22T22:10:50.303Z] debug GET /uploads/logo_c84abf9c79.png (4 ms) 200
[develop:backend ] [2021-12-22T22:10:50.303Z] debug GET /uploads/logo_65d8747fab.png (7 ms) 200
[develop:backend ] [2021-12-22T22:10:51.439Z] debug POST /graphql (33 ms) 200
[develop:backend ] [2021-12-22T22:10:54.516Z] debug POST /graphql (36 ms) 200
[develop:backend ] [2021-12-22T22:10:57.589Z] debug POST /graphql (42 ms) 200
[develop:backend ] [2021-12-22T22:11:00.656Z] debug POST /graphql (39 ms) 200
[develop:backend ] [2021-12-22T22:11:03.853Z] debug POST /graphql (99 ms) 200

[...]

[develop:backend ] [2021-12-22T22:13:30.371Z] debug POST /graphql (36 ms) 200
[develop:backend ] [2021-12-22T22:13:33.441Z] debug POST /graphql (36 ms) 200
[develop:backend ] [2021-12-22T22:13:35.676Z] debug GET /uploads/undraw_content_team_e2404bff54.svg (9 ms) 200
[develop:backend ] [2021-12-22T22:13:35.684Z] debug GET /uploads/undraw_design_page_b283e7c9da.svg (6 ms) 200
[develop:backend ] [2021-12-22T22:13:35.688Z] debug GET /uploads/undraw_create_page_4e9011e785.svg (7 ms) 200
[develop:backend ] [2021-12-22T22:13:35.692Z] debug GET /uploads/preview_5078450e0e.svg (8 ms) 200
[develop:backend ] [2021-12-22T22:13:35.697Z] debug GET /uploads/palette_20ce9727d7.svg (9 ms) 200
[develop:backend ] [2021-12-22T22:13:35.698Z] debug GET /uploads/devices_5155dca8c5.svg (7 ms) 200
[develop:backend ] [2021-12-22T22:13:35.707Z] debug GET /uploads/user_e6ecb8e059.png (3 ms) 200
[develop:backend ] [2021-12-22T22:13:35.712Z] debug GET /uploads/logo_c2d4f2e4a8.png (2 ms) 200
[develop:backend ] [2021-12-22T22:13:35.737Z] debug GET /uploads/logo_751f7c8d95.png (2 ms) 200
[develop:backend ] [2021-12-22T22:13:35.772Z] debug GET /uploads/logo_65d8747fab.png (5 ms) 200
[develop:backend ] [2021-12-22T22:13:35.777Z] debug GET /uploads/logo_c84abf9c79.png (3 ms) 200
[develop:backend ] [2021-12-22T22:13:36.611Z] debug POST /graphql (86 ms) 200
[develop:backend ] [2021-12-22T22:13:39.739Z] debug POST /graphql (90 ms) 200
[develop:backend ] [2021-12-22T22:13:42.828Z] debug POST /graphql (28 ms) 200
[develop:backend ] [2021-12-22T22:13:45.881Z] debug POST /graphql (28 ms) 200
[develop:backend ] [2021-12-22T22:13:48.952Z] debug POST /graphql (35 ms) 200
[develop:backend ] [2021-12-22T22:13:51.016Z] debug POST /graphql (27 ms) 200

^C^C
$ 

Session Log: Build Failure for strapi-starter-gatsby-catalog

Clone the project repo:

$ git clone https://github.com/strapi/strapi-starter-gatsby-catalog.git
$ git clone https://github.com/strapi/strapi-starter-gatsby-catalog.git
Cloning into 'strapi-starter-gatsby-catalog'...
remote: Enumerating objects: 505, done.
remote: Counting objects: 100% (505/505), done.
remote: Compressing objects: 100% (242/242), done.
remote: Total 505 (delta 270), reused 467 (delta 243), pack-reused 0
Receiving objects: 100% (505/505), 2.85 MiB | 16.51 MiB/s, done.
Resolving deltas: 100% (270/270), done.

$ cd strapi-starter-gatsby-catalog/
$ ls
LICENSE.txt  README.md  screenshot.png  starter  starter.json

yarn-based build fails:

$ # Using Yarn
$ 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 "create-strapi-starter@4.0.2" with binaries:
      - create-strapi-starter
? 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 6.02s.

npx-based build fails:

$ # Or using NPM
$ 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 (/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)

npx using version flag succeeds:

$ npx create-strapi-starter@3 my-project gatsby-catalog
npx: installed 159 in 9.563s
? Choose your installation type Quickstart (recommended)
Creating a quickstart project.
Creating a new Strapi application at /home/dpc/dpc.data/local.FS/lfs.03-Projects.Active/project.MindCurrent/dev/on.GitLab/develop/build/back-ends/prototypes/headless-CMSs/test.strapi-gatsby-demo-projects/strapi-starter-gatsby-catalog/my-project/backend.
Creating files.
Installing strapi/strapi-template-catalog template.
Dependencies installed successfully.

Your application was created at /home/dpc/dpc.data/local.FS/lfs.03-Projects.Active/project.MindCurrent/dev/on.GitLab/develop/build/back-ends/prototypes/headless-CMSs/test.strapi-gatsby-demo-projects/strapi-starter-gatsby-catalog/my-project/backend.

Available commands in your project:

  yarn develop
  Start Strapi in watch mode.

  yarn start
  Start Strapi without watch mode.

  yarn build
  Build Strapi admin panel.

  yarn strapi
  Display all available commands.

You can start by doing:

  cd /home/dpc/dpc.data/local.FS/lfs.03-Projects.Active/project.MindCurrent/dev/on.GitLab/develop/build/back-ends/prototypes/headless-CMSs/test.strapi-gatsby-demo-projects/strapi-starter-gatsby-catalog/my-project/backend
  yarn develop

Creating Strapi starter frontend at /home/dpc/dpc.data/local.FS/lfs.03-Projects.Active/project.MindCurrent/dev/on.GitLab/develop/build/back-ends/prototypes/headless-CMSs/test.strapi-gatsby-demo-projects/strapi-starter-gatsby-catalog/my-project/frontend.
Installing strapi/strapi-starter-gatsby-catalog starter
Dependencies installed successfully.
Dependencies installed successfully.
Starting the app
yarn run v1.22.17
$ cross-env FORCE_COLOR=1 npm-run-all -l -p develop:*
$ yarn --cwd backend develop
$ wait-on http://localhost:1337/admin && yarn --cwd frontend develop
$ strapi develop
[develop:backend ] Building your admin UI with development configuration ...
[develop:backend ] ℹ Compiling Webpack
[develop:backend ] ✔ Webpack: Compiled successfully in 39.55s
[develop:backend ] [2021-12-22T22:27:44.122Z] info File created: /home/dpc/dpc.data/local.FS/lfs.03-Projects.Active/project.MindCurrent/dev/on.GitLab/develop/build/back-ends/prototypes/headless-CMSs/test.strapi-gatsby-demo-projects/strapi-starter-gatsby-catalog/my-project/backend/extensions/users-permissions/config/jwt.js
[develop:backend ] 
[develop:backend ]  Project information
[develop:backend ] 
[develop:backend ] ┌────────────────────┬──────────────────────────────────────────────────┐
[develop:backend ] │ Time               │ Wed Dec 22 2021 14:27:55 GMT-0800 (Pacific Stan… │
[develop:backend ] │ Launched in        │ 20838 ms                                         │
[develop:backend ] │ Environment        │ development                                      │
[develop:backend ] │ Process PID        │ 28424                                            │
[develop:backend ] │ Version            │ 3.6.8 (node v14.17.4)                            │
[develop:backend ] │ Edition            │ Community                                        │
[develop:backend ] └────────────────────┴──────────────────────────────────────────────────┘
[develop:backend ] 
[develop:backend ]  Actions available
[develop:backend ] 
[develop:backend ] One more thing...
[develop:backend ] Create your first administrator 💻 by going to the administration panel at:
[develop:backend ] 
[develop:backend ] ┌─────────────────────────────┐
[develop:backend ] │ http://localhost:1337/admin │
[develop:backend ] └─────────────────────────────┘
[develop:backend ] 
[develop:backend ] [2021-12-22T22:27:55.468Z] debug POST /graphql (14 ms) 405
[develop:backend ] [2021-12-22T22:27:55.563Z] debug HEAD /admin (5 ms) 200
[develop:backend ] [2021-12-22T22:27:55.565Z] info ⏳ Opening the admin panel...
[develop:backend ] [2021-12-22T22:27:55.612Z] debug HEAD /admin (1 ms) 200
$ gatsby develop --open
[develop:backend ] [2021-12-22T22:27:56.348Z] debug GET /admin (2 ms) 200
[develop:backend ] [2021-12-22T22:27:56.499Z] debug GET /admin/runtime~main.a3b8c49f.js (22 ms) 200
[develop:backend ] [2021-12-22T22:27:56.502Z] debug GET /admin/main.4eeac8b8.chunk.js (14 ms) 200
[develop:backend ] [2021-12-22T22:27:57.531Z] debug GET /favicon.ico (2 ms) 200
[develop:backend ] [2021-12-22T22:27:58.609Z] debug GET /admin/init (13 ms) 200
[develop:backend ] [2021-12-22T22:28:00.200Z] debug GET /admin/07109cdae9f760e8d97c89788c9dc9df.png (9 ms) 200
[develop:backend ] [2021-12-22T22:28:00.291Z] debug GET /admin/842e7845f3f8e943ff712a39617b6b70.svg (5 ms) 200
[develop:backend ] [2021-12-22T22:28:00.329Z] debug GET /admin/75614cfcfedd509b1f7ac1c26c53bb7f.woff2 (10 ms) 200
[develop:backend ] [2021-12-22T22:28:00.329Z] debug GET /admin/a6069540692725c247f13984a9598a92.woff2 (7 ms) 200
[develop:backend ] [2021-12-22T22:28:00.338Z] debug GET /admin/21b3848a32fce5b0f5014948186f6964.woff2 (3 ms) 200
[develop:backend ] [2021-12-22T22:28:00.491Z] debug POST /graphql (2 ms) 405
[develop:backend ] [2021-12-22T22:28:05.517Z] debug POST /graphql (1 ms) 405
[develop:frontend] info
[develop:frontend] 
[develop:frontend] There are 3 other flags available that you might be interested in:
[develop:frontend] - FAST_DEV · Enable all experiments aimed at improving develop server start time
[develop:frontend] - DEV_SSR · (Umbrella Issue (https://gatsby.dev/dev-ssr-feedback)) · Server Side
[develop:frontend]  Render (SSR) pages on full reloads during develop. Helps you detect SSR bugs
[develop:frontend] and fix them without needing to do full builds.
[develop:frontend] - PRESERVE_WEBPACK_CACHE · (Umbrella Issue
[develop:frontend] (https://gatsby.dev/cache-clearing-feedback)) · Don't delete webpack's cache
[develop:frontend] when changing gatsby-node.js & gatsby-config.js files.
[develop:frontend] - PRESERVE_FILE_DOWNLOAD_CACHE · (Umbrella Issue
[develop:frontend] (https://gatsby.dev/cache-clearing-feedback)) · Don't delete the downloaded
[develop:frontend] files cache when changing gatsby-node.js & gatsby-config.js files.
[develop:frontend] - PARALLEL_SOURCING · EXPERIMENTAL · (Umbrella Issue
[develop:frontend] (https://gatsby.dev/parallel-sourcing-feedback)) · Run all source plugins at the
[develop:frontend]  same time instead of serially. For sites with multiple source plugins, this can
[develop:frontend]  speedup sourcing and transforming considerably.
[develop:frontend] 
success open and validate gatsby-configs - 0.161s
success load plugins - 1.814s
success onPreInit - 0.058s
success initialize cache - 0.008s
success copy gatsby files - 0.103s
success onPreBootstrap - 0.050s
success createSchemaCustomization - 0.006s
info Starting to fetch data from Strapi - http://localhost:1337/products with
[develop:frontend] params {"_limit":1000}
info Starting to fetch data from Strapi - http://localhost:1337/categories with
[develop:frontend] params {"_limit":1000}
info Starting to fetch data from Strapi - http://localhost:1337/global with
[develop:frontend] params {"_limit":1000}
[develop:frontend] 
[develop:backend ] [2021-12-22T22:28:09.438Z] debug GET /products?_limit=1000 (144 ms) 200
[develop:backend ] [2021-12-22T22:28:09.482Z] debug GET /categories?_limit=1000 (180 ms) 200
[develop:backend ] [2021-12-22T22:28:09.487Z] debug GET /global?_limit=1000 (177 ms) 200
[develop:backend ] [2021-12-22T22:28:09.505Z] debug GET /uploads/percussion_f28f85d040.png (9 ms) 200
[develop:backend ] [2021-12-22T22:28:09.506Z] debug GET /uploads/strings_ef82a124b9.png (11 ms) 200
[develop:backend ] [2021-12-22T22:28:09.508Z] debug GET /uploads/guitars_3dbd0ecc11.png (14 ms) 200
[develop:backend ] [2021-12-22T22:28:09.510Z] debug GET /uploads/keys_7b00a6e36b.png (17 ms) 200
[develop:backend ] [2021-12-22T22:28:09.512Z] debug GET /uploads/placeholder_2542f85a27.png (14 ms) 200
[develop:backend ] [2021-12-22T22:28:09.581Z] debug GET /uploads/favicon_9e5295b2ea.png (2 ms) 200
[develop:backend ] [2021-12-22T22:28:09.600Z] debug GET /uploads/cordoba_classical_guitar_78d86dd410.png (5 ms) 200
[develop:backend ] [2021-12-22T22:28:09.638Z] debug GET /uploads/steinway_grand_c_227_573ead2cbb.png (2 ms) 200
[develop:backend ] [2021-12-22T22:28:09.657Z] debug GET /uploads/placeholder_2fac1d4f9f.png (8 ms) 200
[develop:backend ] [2021-12-22T22:28:09.664Z] debug GET /uploads/martin_acoustic_guitar_907b7c0102.png (2 ms) 200
[develop:backend ] [2021-12-22T22:28:09.702Z] debug GET /uploads/steinway_upright_k_132_7fc41a789d.png (9 ms) 200
[develop:backend ] [2021-12-22T22:28:09.737Z] debug GET /uploads/stradivarius_violin_b6c469c4b9.png (8 ms) 200
[develop:backend ] [2021-12-22T22:28:09.764Z] debug GET /uploads/yamaha_classical_guitar_481a557140.png (21 ms) 200
[develop:backend ] [2021-12-22T22:28:09.790Z] debug GET /uploads/yamaha_grand_piano_579f308c81.png (5 ms) 200
[develop:backend ] [2021-12-22T22:28:09.791Z] debug GET /uploads/6_piece_drum_kit_e13e1ac411.png (4 ms) 200
[develop:backend ] [2021-12-22T22:28:09.828Z] debug GET /uploads/fender_stratocaster_8df4be9c38.png (2 ms) 200
[develop:backend ] [2021-12-22T22:28:09.858Z] debug GET /uploads/4_piece_drum_kit_99b4f3e0b2.png (3 ms) 200
[develop:backend ] [2021-12-22T22:28:09.904Z] debug GET /uploads/roland_electric_drum_kit_6ea56ecfee.png (8 ms) 200
success Fetched Strapi Data - 0.913s
success Checking for changed pages - 0.001s
success source and transform nodes - 1.033s
[develop:frontend] 
success building schema - 1.038s
info Total nodes: 102, SitePage nodes: 1 (use --verbose for breakdown)
success createPages - 0.792s
success Checking for changed pages - 0.000s
success createPagesStatefully - 0.170s
success update schema - 0.089s
success write out redirect data - 0.002s
success Build manifest and related icons - 0.093s
success onPostBootstrap - 0.098s
info bootstrap finished - 10.850s
success onPreExtractQueries - 0.001s
success extract queries from components - 2.039s
success write out requires - 0.006s
success run static queries - 0.083s - 4/4 48.17/s
success run page queries - 0.209s - 3/3 14.35/s
warn Browserslist: caniuse-lite is outdated. Please run:
[develop:frontend] npx browserslist@latest --update-db
[develop:frontend] 
[develop:frontend] Why you should do it regularly:
[develop:frontend] https://github.com/browserslist/browserslist#browsers-data-updating
warn Browserslist: caniuse-lite is outdated. Please run:
[develop:frontend] npx browserslist@latest --update-db
[develop:frontend] 
[develop:frontend] Why you should do it regularly:
[develop:frontend] https://github.com/browserslist/browserslist#browsers-data-updating
[develop:frontend] 
[develop:backend ] [2021-12-22T22:28:16.207Z] debug POST /graphql (1 ms) 405
warn Browserslist: caniuse-lite is outdated. Please run:
[develop:frontend] npx browserslist@latest --update-db
[develop:frontend] 
[develop:frontend] Why you should do it regularly:
[develop:frontend] https://github.com/browserslist/browserslist#browsers-data-updating
[develop:frontend] 
[develop:backend ] [2021-12-22T22:28:27.223Z] debug POST /graphql (1 ms) 405
[develop:backend ] [2021-12-22T22:28:32.258Z] debug POST /graphql (3 ms) 405
[develop:backend ] [2021-12-22T22:28:38.540Z] debug POST /graphql (1 ms) 405
⠀
You can now view gatsby-starter-default in the browser.
⠀
  http://localhost:8000/
⠀
View GraphiQL, an in-browser IDE, to explore your site's data and schema
⠀
  http://localhost:8000/___graphql
⠀
Note that the development build is not optimized.
To create a production build, use gatsby build
⠀
success Building development bundle - 30.227s
[develop:frontend] 
success onPreExtractQueries - 0.002s
success extract queries from components - 0.402s
success write out requires - 0.002s
success run page queries - 0.110s - 1/1 9.07/s
[develop:frontend] 
^C^C^C
$