Display Command did not finish within the time limit on step of building site

11:36:09 PM: Failed during stage “building site”: Command did not finish within the time limit
11:36:09 PM: Execution timed out after 18m10.001512302s
11:36:09 PM: Failing build: Failed to build site
11:36:09 PM: Finished processing build request in 20m12.682s

Can the limit on builds be increased to 30-40 mins?

Site id: 543705d3-3ef5-42b2-887d-c46b27f55ae2

Thanks for all.

Hi @dereklau1019,

Thanks for reaching out and welcome to Netlify’s Support Forums!

I’ve increased the build timelimit to 40 minutes for the site. Let us know if you have any questions.

Now, display a new error.
2:14:05 AM: success Rewriting compilation hashes - 0.052s
2:30:36 AM: error Generating SSR bundle failed
2:30:36 AM: Can"t import the named export “isValidElementType” from non EcmaScript module (only default export is available)
not finished Generating image thumbnails - 1047.138s
2:30:36 AM: not finished Building HTML renderer - 4.939s
2:30:37 AM: npm ERR! code ELIFECYCLE
2:30:37 AM: npm ERR! errno 1
2:30:37 AM: npm ERR! @stackrole/gatsby-starter-foundation@1.0.0 build: GATSBY_EXPERIMENTAL_PAGE_BUILD_ON_DATA_CHANGES=true gatsby build --log-pages
2:30:37 AM: npm ERR! Exit status 1
2:30:37 AM: npm ERR!
2:30:37 AM: npm ERR! Failed at the @stackrole/gatsby-starter-foundation@1.0.0 build script.
2:30:37 AM: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
2:30:37 AM: npm ERR! A complete log of this run can be found in:
2:30:37 AM: npm ERR! /opt/buildhome/.npm/_logs/2023-12-19T18_30_37_756Z-debug.log
2:30:37 AM: ​
2:30:37 AM: “build.command” failed
2:30:37 AM: ────────────────────────────────────────────────────────────────
2:30:37 AM: ​
2:30:37 AM: Error message
2:30:37 AM: Command failed with exit code 1: npm run build
2:30:37 AM: ​
2:30:37 AM: Error location
2:30:37 AM: In build.command from netlify.toml:
2:30:37 AM: npm run build
2:30:37 AM: ​
2:30:37 AM: Resolved config
2:30:37 AM: build:
2:30:37 AM: command: npm run build
2:30:37 AM: commandOrigin: config
2:30:37 AM: environment:
2:30:37 AM: - DYNAMIC_CSP_BUILD_TOKEN
2:30:37 AM: - NODE_VERSION
2:30:37 AM: publish: /opt/build/repo/public
2:30:37 AM: publishOrigin: config
2:30:37 AM: plugins:
2:30:37 AM: - inputs: {}
2:30:37 AM: origin: config
2:30:37 AM: package: netlify-plugin-gatsby-cache
2:30:38 AM: Failed during stage “building site”: Build script returned non-zero exit code: 2
2:30:38 AM: Build failed due to a user error: Build script returned non-zero exit code: 2
2:30:38 AM: Failing build: Failed to build site
2:30:38 AM: Finished processing build request in 20m9.434s

Hi @dereklau1019,

The error starts here:

Can"t import the named export "isValidElementType" from non EcmaScript module (only default export is available)

Does that help you resolve the issue?

Unfortunately, you’re using an old version of Gatsby that is no longer supported. Are you able to upgrade your version of Gatsby?