Netlify Create - Studio preview keeps crashing

My Studio preview keeps crashing without any special log.
We are using Gatsby + Wordpress. Previously it was still working normally, after I integrated more than 300 posts into WordPress, the Studio preview could no longer start. I tried updating NODE_OPTIONS max-old-space-size but it didn’t work.
In my local environment, everything still works fine.
This is the only error log displayed:

Hi there!

Following our email solution wanted to share it here as well

  1. Gatsby might take some time to start when a project is loading
  2. The default timeout depends on “First HTML” so sometimes we hit the timeout before Gatsby finished loading
  3. To circumvent it, we can define a different “loaded” pattern for the project - you can read more here: Use Netlify Create with your own framework | Netlify Docs

After checking this stackbit.config.js:

import { defineStackbitConfig } from '@stackbit/types'

export default defineStackbitConfig({
  stackbitVersion: '~0.6.0',
  ssgName: 'gatsby',
  ssgVersion: '5',
  nodeVersion: '18.17.1',
})

We recommended to change it as follows:

import { defineStackbitConfig } from '@stackbit/types'

export default defineStackbitConfig({
  stackbitVersion: '~0.6.0',
  ssgName: 'gatsby',
  nodeVersion: '18', 
  experimental: { 
    ssg: { 
      logPatterns: { 
        up: ['success onPreInit'], 
      }, 
    }, 
  },
})
1 Like

Thanks @youval.vaknin for your help, solved my problem.

1 Like