Deploy failed for unknown reason

Subject: Deploy failed for unknown reason

All of a suddent the deployment for the following site https://karinagrantmarketing.netlify.app/ has stopped deploying, the build passes but when it gets to the deployment stage it shows

6:58:36 AM: Deploy site
6:58:36 AM: ────────────────────────────────────────────────────────────────
6:58:36 AM: ​
6:58:36 AM: Starting to deploy site from ‘gatsby/public’
6:58:37 AM: Calculating files to upload
6:58:37 AM: Execution cancelled
6:58:37 AM: Failing build: Failed to build site

A bit of past history as we saw this error here back in February

When this happened in February I changed the node version in this (AWS_LAMBDA_JS_RUNTIME) envionrment variable.

I thought this had fixed the issue as it then started to build.

The issue came back and now I am a loss of what could be causing it, maybe a timeout or size of the build is too big.

Here is the build log which passes.

6:51:42 AM: Netlify Build 6:51:42 AM: ──────────────────────────────────────────────────────────────── 6:51:42 AM: ​ 6:51:42 AM: ❯ Version 6:51:42 AM: @netlify/build 29.41.1 6:51:42 AM: ​ 6:51:42 AM: ❯ Flags 6:51:42 AM: baseRelDir: true 6:51:42 AM: buildId: 662b40a08b83d4726825275b 6:51:42 AM: deployId: 662b40a08b83d4726825275d 6:51:42 AM: ​ 6:51:42 AM: ❯ Current directory 6:51:42 AM: /opt/build/repo/gatsby 6:51:42 AM: ​ 6:51:42 AM: ❯ Config file 6:51:42 AM: /opt/build/repo/gatsby/netlify.toml 6:51:42 AM: ​ 6:51:42 AM: ❯ Context 6:51:42 AM: production 6:51:42 AM: ​ 6:51:42 AM: ❯ Installing plugins 6:51:42 AM: - @netlify/plugin-lighthouse@4 6:51:42 AM: - @netlify/plugin-emails@1.1.1 6:51:42 AM: - netlify-plugin-gatsby-cache@0.3.0 6:51:56 AM: ​ 6:51:56 AM: ❯ Loading plugins 6:51:56 AM: - @netlify/plugin-lighthouse@4.1.1 from Netlify app 6:51:56 AM: - @netlify/plugin-emails@1.1.1 from Netlify app 6:51:56 AM: - netlify-plugin-gatsby-cache@0.3.0 from netlify.toml 6:51:56 AM: ​ 6:51:56 AM: ❯ Outdated plugins 6:51:56 AM: - @netlify/plugin-lighthouse@4.1.1: latest version is 6.0.0 6:51:56 AM: To upgrade this plugin, please uninstall and re-install it from the Netlify plugins directory (https://app.netlify.com/plugins) 6:51:57 AM: ​ 6:51:57 AM: netlify-plugin-gatsby-cache (onPreBuild event) 6:51:57 AM: ──────────────────────────────────────────────────────────────── 6:51:57 AM: ​ 6:51:57 AM: No Gatsby cache found. Building fresh. 6:51:57 AM: ​ 6:51:57 AM: (netlify-plugin-gatsby-cache onPreBuild completed in 9ms) 6:51:57 AM: ​ 6:51:57 AM: build.command from netlify.toml 6:51:57 AM: ──────────────────────────────────────────────────────────────── 6:51:57 AM: ​ 6:51:57 AM: $ npm run build && cp _redirects public/_redirects 6:51:57 AM: > karinagrant@1.0.0 build /opt/build/repo/gatsby 6:51:57 AM: > gatsby build && netlify-lambda build src/functions 6:51:59 AM: success open and validate gatsby-configs - 0.110s 6:52:00 AM: warning Warning: there are unknown plugin options for "gatsby-source-wordpress": includedRoutes 6:52:00 AM: Please open an issue at ghub.io/gatsby-source-wordpress if you believe this option is valid. 6:52:00 AM: warning Plugin gatsby-plugin-google-gtag is not compatible with your gatsby version 2.32.13 - It requires gatsby@^3.0.0-next.0 6:52:00 AM: warning Plugin gatsby-plugin-canonical-urls is not compatible with your gatsby version 2.32.13 - It requires gatsby@^5.0.0-next 6:52:00 AM: success load plugins - 0.852s 6:52:00 AM: success onPreInit - 0.026s 6:52:00 AM: success delete html and css files from previous builds - 0.002s 6:52:00 AM: success initialize cache - 0.003s 6:52:00 AM: success copy gatsby files - 0.023s 6:52:00 AM: success onPreBootstrap - 0.009s 6:52:01 AM: success gatsby-source-wordpress ensuring plugin requirements are met - 0.880s 6:52:02 AM: ⠀ 6:52:02 AM: info gatsby-source-wordpress 6:52:02 AM: This is either your first build or the cache was cleared. 6:52:02 AM: Please wait while your WordPress data is synced to your Gatsby cache. 6:52:02 AM: Maybe now's a good time to get up and stretch? :D 6:52:03 AM: success gatsby-source-wordpress ingest WPGraphQL schema - 1.682s 6:52:03 AM: success createSchemaCustomization - 2.585s 6:52:03 AM: success gatsby-source-wordpress fetch root fields - 0.448s 6:52:03 AM: success gatsby-source-wordpress Comment - 0.659s - fetched 0 6:52:04 AM: success gatsby-source-wordpress Category - 1.420s - fetched 4 6:52:05 AM: success gatsby-source-wordpress Menu - 1.873s - fetched 2 6:52:05 AM: success gatsby-source-wordpress EventTag - 1.925s - fetched 18 6:52:05 AM: success gatsby-source-wordpress ContentType - 2.301s - fetched 6 6:52:05 AM: success gatsby-source-wordpress Information - 2.372s - fetched 16 6:52:05 AM: success gatsby-source-wordpress PostFormat - 2.386s - fetched 2 6:52:06 AM: success gatsby-source-wordpress ProductTag - 3.365s - fetched 16 6:52:07 AM: success gatsby-source-wordpress MenuItem - 3.948s - fetched 30 6:52:07 AM: success gatsby-source-wordpress Product - 4.069s - fetched 19 6:52:09 AM: success gatsby-source-wordpress Page - 6.061s - fetched 41 6:52:09 AM: success gatsby-source-wordpress Event - 6.147s - fetched 57 6:52:11 AM: success gatsby-source-wordpress Tag - 8.636s - fetched 73 6:52:19 AM: success gatsby-source-wordpress Post - 16.230s - fetched 224 6:52:20 AM: success gatsby-source-wordpress UserRole - 0.471s - fetched 0 6:52:20 AM: success gatsby-source-wordpress Taxonomy - 0.474s - fetched 5 6:52:20 AM: success gatsby-source-wordpress User - 1.206s - fetched 2 6:53:46 AM: success gatsby-source-wordpress MediaItem - 85.406s - fetched 317 6:53:46 AM: success gatsby-source-wordpress creating nodes - 85.407s 6:53:46 AM: success gatsby-source-wordpress fetching nodes - 102.848s - 832 total 6:53:46 AM: success Downloading remote files - 84.953s - 317/317 3.73/s 6:54:00 AM: success Checking for changed pages - 0.000s 6:54:00 AM: success source and transform nodes - 116.943s 6:54:00 AM: success building schema - 0.571s 6:54:01 AM: postsPerPage 21 6:54:01 AM: info Total nodes: 2547, SitePage nodes: 362 (use --verbose for breakdown) 6:54:01 AM: success createPages - 0.588s 6:54:01 AM: success Checking for changed pages - 0.000s 6:54:01 AM: success createPagesStatefully - 0.238s 6:54:01 AM: success update schema - 0.038s 6:54:01 AM: success onPreExtractQueries - 0.000s 6:54:01 AM: warning Could not find image "../../images/corporate/bolt-angles.png". Looked for /opt/build/repo/gatsby/src/images/corporate/bolt-angles.png 6:54:02 AM: warning Could not find image "../images/programs/quantum-touch/level-1-min.jpg". Looked for /opt/build/repo/gatsby/src/images/programs/quantum-touch/level-1-min.jpg 6:54:07 AM: success Downloading remote files - 5.951s - 2/2 0.34/s 6:54:10 AM: success extract queries from components - 9.118s 6:54:10 AM: warning The GraphQL query in the non-page component "/opt/build/repo/gatsby/src/fixtures/essential-mindfulness-copy.js" will not be run. 6:54:10 AM: warning The GraphQL query in the non-page component "/opt/build/repo/gatsby/src/templates/category-archive.js" will not be run. 6:54:10 AM: warning The GraphQL query in the non-page component "/opt/build/repo/gatsby/src/templates/event-post-archive.js" will not be run. 6:54:10 AM: warning The GraphQL query in the non-page component "/opt/build/repo/gatsby/src/templates/event-post.js" will not be run. 6:54:10 AM: warning The GraphQL query in the non-page component "/opt/build/repo/gatsby/src/components/QuantumTouch/relatedQuantumTouchAricles.js" will not be run. 6:54:10 AM: Exported queries are only executed for Page components. It's possible you're 6:54:10 AM: trying to create pages in your gatsby-node.js and that's failing for some reason. 6:54:10 AM: If the failing component(s) is a regular component and not intended to be a page 6:54:10 AM: component, you generally want to use a <StaticQuery> (https://gatsbyjs.org/docs/static-query) 6:54:10 AM: instead of exporting a page query. 6:54:10 AM: If you're more experienced with GraphQL, you can also export GraphQL fragments from components and compose the fragments in the Page component 6:54:10 AM: query and pass data down into the child component — https://graphql.org/learn/queries/#fragments 6:54:10 AM: success write out redirect data - 0.000s 6:54:10 AM: success Build manifest and related icons - 0.136s 6:54:10 AM: success onPostBootstrap - 0.164s 6:54:10 AM: info bootstrap finished - 133.113s 6:54:10 AM: warning Thank you for trying the beta version of the gatsbyImageDataAPI. Please provide feedback and report any issues at: https://github.com/gatsbyjs/gatsby/discussions/27950 6:54:11 AM: success run static queries - 0.199s - 15/15 75.45/s 6:54:27 AM: warning Query takes too long: 6:54:27 AM: File path: /opt/build/repo/gatsby/src/templates/blog-post.js 6:54:27 AM: URL path: /blog/childrens-book-review-magic-happens-in-the-unscramble-box/ 6:54:27 AM: Context: { 6:54:27 AM: "id": "cG9zdDoxMTQxNg==", 6:54:27 AM: "tagName": "Inspiration" 6:54:27 AM: } 6:54:27 AM: warning Query takes too long: 6:54:27 AM: File path: /opt/build/repo/gatsby/src/templates/blog-post.js 6:54:27 AM: URL path: /blog/quantum-touch-healing-for-horses-a-path-to-harmony-and-balance/ 6:54:27 AM: Context: { 6:54:27 AM: "id": "cG9zdDoxMTQwNg==", 6:54:27 AM: "tagName": "Healing" 6:54:27 AM: } 6:54:27 AM: warning Query takes too long: 6:54:27 AM: File path: /opt/build/repo/gatsby/src/templates/blog-post.js 6:54:27 AM: URL path: /blog/5-tips-for-when-you-feel-emotionally-low/ 6:54:27 AM: Context: { 6:54:27 AM: "id": "cG9zdDoxMTM3OQ==", 6:54:27 AM: "tagName": "Energy Healing" 6:54:27 AM: } 6:54:27 AM: warning Query takes too long: 6:54:27 AM: File path: /opt/build/repo/gatsby/src/templates/blog-post.js 6:54:27 AM: URL path: /blog/sudden-hearing-loss-returns-in-one-quantum-touch-session-astounding-experience/ 6:54:27 AM: Context: { 6:54:27 AM: "id": "cG9zdDoxMTI0Mg==", 6:54:27 AM: "tagName": "Energy Healing" 6:54:27 AM: } 6:55:37 AM: success run page queries - 85.881s - 461/461 5.37/s 6:55:37 AM: success write out requires - 0.006s 6:55:37 AM: warning Browserslist: caniuse-lite is outdated. Please run: 6:55:37 AM: npx update-browserslist-db@latest 6:55:37 AM: Why you should do it regularly: https://github.com/browserslist/update-db#readme 6:55:37 AM: warningisModuleDeclarationhas been deprecated, please migrate toisImportOrExportDeclaration 6:55:37 AM: at isModuleDeclaration (/opt/build/repo/gatsby/node_modules/@babel/types/lib/validators/generated/index.js:3940:35) 6:55:37 AM: at PluginPass.Program (/opt/build/repo/gatsby/node_modules/babel-plugin-lodash/lib/index.js:102:44) 6:55:50 AM: warning [gatsby-plugin-image] Could not read image data file "/opt/build/repo/gatsby/.cache/caches/gatsby-plugin-image/925674167.json". 6:55:50 AM: This may mean that the images in "/opt/build/repo/gatsby/src/components/workshop-image.js" were not processed. 6:55:50 AM: Please ensure that your gatsby version is at least 2.24.78. 6:55:50 AM: warning [gatsby-plugin-image] No data found for image "../images/programs/quantum-touch/level-1-min.jpg" 6:56:25 AM: warning [gatsby-plugin-image] Could not read image data file "/opt/build/repo/gatsby/.cache/caches/gatsby-plugin-image/4207234124.json". 6:56:25 AM: This may mean that the images in "/opt/build/repo/gatsby/src/components/Corporate/testimonials.js" were not processed. 6:56:25 AM: Please ensure that your gatsby version is at least 2.24.78. 6:56:25 AM: warning [gatsby-plugin-image] No data found for image "../../images/corporate/bolt-angles.png" 6:57:32 AM: warning "export 'bold18' was not found in './base' warning "export 'regular32' was not found in './typography' warning "export 'semiboldSecondary14' was not found in './typography' success Building production JavaScript and CSS bundles - 115.231s 6:57:35 AM: success Rewriting compilation hashes - 0.001s 6:57:45 AM: warning [gatsby-plugin-image] Could not read image data file "/opt/build/repo/gatsby/.cache/caches/gatsby-plugin-image/925674167.json". 6:57:45 AM: This may mean that the images in "/opt/build/repo/gatsby/src/components/workshop-image.js" were not processed. 6:57:45 AM: Please ensure that your gatsby version is at least 2.24.78. 6:57:45 AM: warning [gatsby-plugin-image] No data found for image "../images/programs/quantum-touch/level-1-min.jpg" 6:57:53 AM: warning [gatsby-plugin-image] Could not read image data file "/opt/build/repo/gatsby/.cache/caches/gatsby-plugin-image/4207234124.json". 6:57:53 AM: This may mean that the images in "/opt/build/repo/gatsby/src/components/Corporate/testimonials.js" were not processed. 6:57:53 AM: Please ensure that your gatsby version is at least 2.24.78. 6:57:53 AM: warning [gatsby-plugin-image] No data found for image "../../images/corporate/bolt-angles.png" 6:58:00 AM: success Building HTML renderer - 23.648s 6:58:04 AM: isAutopPlay: false 6:58:04 AM: No data found for image "../../images/corporate/bolt-angles.png" 6:58:04 AM: undefinedCould not read image data file "/opt/build/repo/gatsby/.cache/caches/gatsby-plugin-image/4207234124.json". 6:58:04 AM: This may mean that the images in "/opt/build/repo/gatsby/src/components/Corporate/testimonials.js" were not processed. 6:58:04 AM: Please ensure that your gatsby version is at least 2.24.78. 6:58:04 AM: Image not loaded ../../images/corporate/bolt-angles.png 6:58:04 AM: values::: {} 6:58:06 AM: success Building static HTML for pages - 5.283s - 461/461 87.26/s 6:58:06 AM: success Generating image thumbnails - 344.277s - 2534/2534 7.36/s 6:58:06 AM: info Generated public/sw.js, which will precache 10 files, totaling 476535 bytes. 6:58:06 AM: The following pages will be precached: 6:58:06 AM: /offline-plugin-app-shell-fallback/index.html 6:58:06 AM: success onPostBuild - 0.178s 6:58:06 AM: info Done building in 368.395967898 sec 6:58:07 AM: netlify-lambda: Building functions 6:58:12 AM: Hash: 86d9479a99e29666e207 6:58:12 AM: Version: webpack 4.46.0 6:58:12 AM: Time: 4369ms 6:58:12 AM: Built at: 04/26/2024 5:58:12 AM 6:58:12 AM: Asset Size Chunks Chunk Names 6:58:12 AM: programmes.js 20 KiB 0 [emitted] programmes 6:58:12 AM: reactPlayerDailyMotion.js 5.98 KiB 1 [emitted] reactPlayerDailyMotion 6:58:12 AM: reactPlayerFacebook.js 4.91 KiB 2 [emitted] reactPlayerFacebook 6:58:12 AM: reactPlayerFilePlayer.js 10.5 KiB 3 [emitted] reactPlayerFilePlayer 6:58:12 AM: reactPlayerKaltura.js 4.45 KiB 4 [emitted] reactPlayerKaltura 6:58:12 AM: reactPlayerMixcloud.js 4.71 KiB 5 [emitted] reactPlayerMixcloud 6:58:12 AM: reactPlayerPreview.js 4.83 KiB 6 [emitted] reactPlayerPreview 6:58:12 AM: reactPlayerSoundCloud.js 5.02 KiB 7 [emitted] reactPlayerSoundCloud 6:58:12 AM: reactPlayerStreamable.js 4.41 KiB 8 [emitted] reactPlayerStreamable 6:58:12 AM: reactPlayerTwitch.js 5.05 KiB 9 [emitted] reactPlayerTwitch 6:58:12 AM: reactPlayerVidyard.js 4.92 KiB 10 [emitted] reactPlayerVidyard 6:58:12 AM: reactPlayerVimeo.js 5.57 KiB 11 [emitted] reactPlayerVimeo 6:58:12 AM: reactPlayerWistia.js 5.56 KiB 12 [emitted] reactPlayerWistia 6:58:12 AM: reactPlayerYouTube.js 7.41 KiB 13 [emitted] reactPlayerYouTube 6:58:12 AM: stripe-customer.js 61.6 KiB 14 [emitted] stripe-customer 6:58:12 AM: utils.js 218 KiB 15 [emitted] utils 6:58:12 AM: Entrypoint programmes = programmes.js 6:58:12 AM: Entrypoint stripe-customer = stripe-customer.js 6:58:12 AM: Entrypoint utils = utils.js 6:58:12 AM: [0] /opt/build/repo/gatsby/node_modules/react/index.js 190 bytes {15} [built] 6:58:12 AM: [3] /opt/build/repo/gatsby/node_modules/stripe/lib/StripeResource.js 16.1 KiB {14} [built] 6:58:12 AM: [4] /opt/build/repo/gatsby/node_modules/localforage/dist/localforage.js 91.6 KiB {15} [built] 6:58:12 AM: [11] /opt/build/repo/gatsby/node_modules/stripe/lib/utils.js 11.2 KiB {14} [built] 6:58:12 AM: [12] /opt/build/repo/gatsby/node_modules/stripe/lib/Error.js 4.53 KiB {14} [built] 6:58:12 AM: [15] /opt/build/repo/gatsby/node_modules/react-netlify-identity-gotrue/build/index.js 6 KiB {15} [built] 6:58:12 AM: [16] /opt/build/repo/gatsby/node_modules/stripe/lib/resources/Accounts.js 2.97 KiB {14} [built] 6:58:12 AM: [17] external "events" 42 bytes {14} [built] 6:58:12 AM: [23] /opt/build/repo/gatsby/node_modules/stripe/lib/Webhooks.js 4.53 KiB {14} [built] 6:58:12 AM: [41] ./programmes.js 20.9 KiB {0} [built] 6:58:12 AM: [42] ./stripe-customer.js 16.9 KiB {14} [built] 6:58:12 AM: [43] /opt/build/repo/gatsby/node_modules/stripe/lib/stripe.js 13.5 KiB {14} [built] 6:58:12 AM: [44] /opt/build/repo/gatsby/node_modules/stripe/lib/resources.js 3.73 KiB {14} [built] 6:58:12 AM: [116] /opt/build/repo/gatsby/node_modules/stripe/package.json 2.8 KiB {14} [built] 6:58:12 AM: [129] ./utils.js + 17 modules 250 KiB {15} [built] 6:58:12 AM: | ./utils.js 18.1 KiB [built] 6:58:12 AM: | ../fixtures/localFixtures/permission-to-sleep.js 43 KiB [built] 6:58:12 AM: | ../fixtures/localFixtures/permission-to-reset-anxiety.js 25.5 KiB [built] 6:58:12 AM: | ../fixtures/localFixtures/mindfulness-collection.js 22.4 KiB [built] 6:58:12 AM: | ../fixtures/localFixtures/chakra-balancing.js 18.7 KiB [built] 6:58:12 AM: | ../fixtures/localFixtures/qt-morning-meditation.js 14.6 KiB [built] 6:58:12 AM: | ../fixtures/localFixtures/qt-brain-healing.js 17.7 KiB [built] 6:58:12 AM: | ../fixtures/localFixtures/qt-balancing-structure.js 16.7 KiB [built] 6:58:12 AM: | ../fixtures/localFixtures/qt-chakra-balancing.js 14.5 KiB [built] 6:58:12 AM: | ../components/reactPlayer.js 2.37 KiB [built] 6:58:12 AM: | /opt/build/repo/gatsby/node_modules/react-h5-audio-player/es/index.js 22.6 KiB [built] 6:58:12 AM: | ../components/googleAnalytics.js 3.61 KiB [built] 6:58:12 AM: | /opt/build/repo/gatsby/node_modules/react-h5-audio-player/es/utils.js 1.65 KiB [built] 6:58:12 AM: | /opt/build/repo/gatsby/node_modules/react-h5-audio-player/es/ProgressBar.js 11.6 KiB [built] 6:58:12 AM: | /opt/build/repo/gatsby/node_modules/react-h5-audio-player/es/CurrentTime.js 4.02 KiB [built] 6:58:12 AM: | + 3 hidden modules 6:58:12 AM: + 128 hidden modules 6:58:12 AM: ​ 6:58:12 AM: (build.command completed in 6m 15.1s) 6:58:12 AM: ​ 6:58:12 AM: @netlify/plugin-emails (onBuild event) 6:58:12 AM: ──────────────────────────────────────────────────────────────── 6:58:12 AM: ​ 6:58:12 AM: Creating function for Netlify Emails integration 6:58:12 AM: ​ 6:58:12 AM: (@netlify/plugin-emails onBuild completed in 55ms) 6:58:12 AM: ​ 6:58:12 AM: Functions bundling 6:58:12 AM: ──────────────────────────────────────────────────────────────── 6:58:12 AM: ​ 6:58:12 AM: Packaging Functions from .netlify/functions-internal directory: 6:58:12 AM: - emails/index.js 6:58:12 AM: ​ 6:58:12 AM: Packaging Functions from functions directory: 6:58:12 AM: - formHandler.js 6:58:12 AM: - identity-signup.js 6:58:12 AM: - payment-success.js 6:58:12 AM: - programmes.js 6:58:12 AM: - reactPlayerDailyMotion.js 6:58:12 AM: - reactPlayerFacebook.js 6:58:12 AM: - reactPlayerFilePlayer.js 6:58:12 AM: - reactPlayerKaltura.js 6:58:12 AM: - reactPlayerMixcloud.js 6:58:12 AM: - reactPlayerPreview.js 6:58:12 AM: - reactPlayerSoundCloud.js 6:58:12 AM: - reactPlayerStreamable.js 6:58:12 AM: - reactPlayerTwitch.js 6:58:12 AM: - reactPlayerVidyard.js 6:58:12 AM: - reactPlayerVimeo.js 6:58:12 AM: - reactPlayerWistia.js 6:58:12 AM: - reactPlayerYouTube.js 6:58:12 AM: - stripe-customer.js 6:58:12 AM: - utils.js 6:58:12 AM: - update-role/update-role.js 6:58:12 AM: ​ 6:58:14 AM: ​ 6:58:14 AM: (Functions bundling completed in 1.2s) 6:58:14 AM: ​ 6:58:14 AM: Edge Functions bundling 6:58:14 AM: ──────────────────────────────────────────────────────────────── 6:58:14 AM: ​ 6:58:14 AM: Packaging Edge Functions from netlify/edge-functions directory: 6:58:14 AM: - geolocation 6:58:14 AM: - hello 6:58:16 AM: ​ 6:58:16 AM: (Edge Functions bundling completed in 2.3s) 6:58:16 AM: ​ 6:58:16 AM: @netlify/plugin-lighthouse (onPostBuild event) 6:58:16 AM: ──────────────────────────────────────────────────────────────── 6:58:16 AM: ​ 6:58:16 AM: Generating Lighthouse report. This may take a minute… 6:58:16 AM: Running Lighthouse on public/ 6:58:16 AM: Serving and scanning site from directory public 6:58:32 AM: Lighthouse scores for public/ 6:58:32 AM: - Performance: 28 6:58:32 AM: - Accessibility: 96 6:58:32 AM: - Best Practices: 83 6:58:32 AM: - SEO: 100 6:58:32 AM: - PWA: 90 6:58:32 AM: ​ 6:58:32 AM: (@netlify/plugin-lighthouse onPostBuild completed in 16.2s) 6:58:32 AM: ​ 6:58:32 AM: netlify-plugin-gatsby-cache (onPostBuild event) 6:58:32 AM: ──────────────────────────────────────────────────────────────── 6:58:32 AM: ​ 6:58:36 AM: Stored the Gatsby cache to speed up future builds. 6:58:36 AM: ​ 6:58:36 AM: (netlify-plugin-gatsby-cache onPostBuild completed in 3.1s) 6:58:36 AM: ​ 6:58:37 AM: Finished processing build request in 8m0.816s

Please can anyone shed any light on what may be causing it?

Thanks in advance for any help you can offer here. We are at a loss and are unable to make any changes to the site.

I’m confused.

If I’m reading your post correctly, you’ve mostly supplied a portion of a previous build log where the build succeeded? But only the “end result message” of the one that failed?

1 Like

Hi @nathanmartin

Apologies i thought I added this. Here is the deploy message

6:58:36 AM: Deploy site 6:58:36 AM: ──────────────────────────────────────────────────────────────── 6:58:36 AM: ​ 6:58:36 AM: Starting to deploy site from 'gatsby/public' 6:58:37 AM: Calculating files to upload 6:58:37 AM: Execution cancelled 6:58:37 AM: Failing build: Failed to build site

Thanks for your help.
Simon

@tinterweb That’s effectively only the end result, it doesn’t reveal any useful indication of “why it happened”.

That information may be elsewhere in the log.

It’s why the instructions for the forum indicate you should provide full build logs.

Thanks @nathanmartin below is the full log.

There is nothing useful at all that tells me what’s causing the failed deploy.

When this started all that was changed was a template change. No npm updates or node version changes. I have tried deploying and clearing the cache but nothing.

Could it be the build is too large?

Initializing
Complete
6:50:37 AM: build-image version: 3d3c7e8b4321e2c1a54a2c4584fb46ba742b1630 (focal)
6:50:37 AM: buildbot version: d85d718afb4cfc1d31fb4837470daa2b526f928f
6:50:37 AM: Building without cache
6:50:37 AM: Starting to prepare the repo for build
6:50:37 AM: No cached dependencies found. Cloning fresh repo
6:50:37 AM: git clone --filter=blob:none https://github.com/tinterweb/karinagrant
6:50:38 AM: Preparing Git Reference refs/heads/main
6:50:48 AM: Custom build path detected. Proceeding with the specified path: 'gatsby'
6:50:48 AM: Custom publish path detected. Proceeding with the specified path: 'gatsby/public'
6:50:48 AM: Custom functions path detected. Proceeding with the specified path: 'gatsby/functions'
6:50:48 AM: Custom edge functions path detected. Proceeding with the specified path: 'gatsby/netlify/edge-functions'
6:50:48 AM: Custom build command detected. Proceeding with the specified command: 'npm run build && cp _redirects public/_redirects'
6:50:49 AM: Starting to install dependencies
6:50:49 AM: Python version set to 3.8
6:50:49 AM: Attempting Ruby version 2.7.2, read from environment
6:50:50 AM: Using Ruby version 2.7.2
6:50:51 AM: Started restoring cached go cache
6:50:51 AM: Finished restoring cached go cache
6:50:51 AM: Installing Go version 1.14.4 (requested 1.14.4)
6:50:54 AM: go version go1.14.4 linux/amd64
6:50:55 AM: Using PHP version 8.0
6:50:56 AM: Attempting Node.js version '14.15.0' from .nvmrc
6:50:56 AM: Downloading and installing node v14.15.0...
6:50:56 AM: Downloading https://nodejs.org/dist/v14.15.0/node-v14.15.0-linux-x64.tar.xz...
6:50:57 AM: Computing checksum with sha256sum
6:50:57 AM: Checksums matched!
6:50:58 AM: Now using node v14.15.0 (npm v6.14.8)
6:50:58 AM: Started restoring cached build plugins
6:50:58 AM: Finished restoring cached build plugins
6:50:58 AM: Started restoring cached corepack dependencies
6:50:58 AM: Finished restoring cached corepack dependencies
6:50:59 AM: No npm workspaces detected
6:50:59 AM: Started restoring cached node modules
6:50:59 AM: Finished restoring cached node modules
6:50:59 AM: Installing npm packages using npm version 6.14.8
6:51:30 AM: npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it!
6:51:30 AM: > sharp@0.27.1 install /opt/build/repo/gatsby/node_modules/sharp
6:51:30 AM: > (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)
6:51:33 AM: info sharp Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.10.5/libvips-8.10.5-linux-x64.tar.br
6:51:34 AM: > core-js@2.6.12 postinstall /opt/build/repo/gatsby/node_modules/babel-runtime/node_modules/core-js
6:51:34 AM: > node -e "try{require('./postinstall')}catch(e){}"
6:51:34 AM: Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
6:51:34 AM: The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: 
6:51:34 AM: > https://opencollective.com/core-js 
6:51:34 AM: > https://www.patreon.com/zloirock 
6:51:34 AM: Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)
6:51:34 AM: > core-js@3.22.4 postinstall /opt/build/repo/gatsby/node_modules/core-js
6:51:34 AM: > node -e "try{require('./postinstall')}catch(e){}"
6:51:34 AM: Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
6:51:34 AM: The project needs your help! Please consider supporting of core-js:
6:51:34 AM: > https://opencollective.com/core-js 
6:51:34 AM: > https://patreon.com/zloirock 
6:51:34 AM: > bitcoin: bc1qlea7544qtsmj2rayg0lthvza9fau63ux0fstcz 
6:51:34 AM: Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)
6:51:34 AM: > core-js-pure@3.8.3 postinstall /opt/build/repo/gatsby/node_modules/core-js-pure
6:51:34 AM: > node -e "try{require('./postinstall')}catch(e){}"
6:51:35 AM: > gatsby-telemetry@1.10.2 postinstall /opt/build/repo/gatsby/node_modules/gatsby-telemetry
6:51:35 AM: > node src/postinstall.js || true
6:51:35 AM: > mozjpeg@7.0.0 postinstall /opt/build/repo/gatsby/node_modules/mozjpeg
6:51:35 AM: > node lib/install.js
6:51:35 AM:   ✔ mozjpeg pre-build test passed successfully
6:51:35 AM: > pngquant-bin@6.0.0 postinstall /opt/build/repo/gatsby/node_modules/pngquant-bin
6:51:35 AM: > node lib/install.js
6:51:36 AM:   ✔ pngquant pre-build test passed successfully
6:51:36 AM: > gatsby-cli@2.19.3 postinstall /opt/build/repo/gatsby/node_modules/gatsby-cli
6:51:36 AM: > node scripts/postinstall.js
6:51:36 AM: > gatsby@2.32.13 postinstall /opt/build/repo/gatsby/node_modules/gatsby
6:51:36 AM: > node scripts/postinstall.js
6:51:38 AM: npm WARN The package gatsby-plugin-breakpoints is included as both a dev and production dependency.
6:51:38 AM: npm WARN The package gatsby-plugin-styled-components is included as both a dev and production dependency.
6:51:38 AM: npm WARN The package styled-components is included as both a dev and production dependency.
6:51:38 AM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/webpack-dev-server/node_modules/fsevents):
6:51:38 AM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
6:51:38 AM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/watchpack-chokidar2/node_modules/fsevents):
6:51:38 AM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
6:51:38 AM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents):
6:51:38 AM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
6:51:38 AM: added 2971 packages from 1312 contributors and audited 2984 packages in 38.759s
6:51:39 AM: 290 packages are looking for funding
6:51:39 AM:   run `npm fund` for details
6:51:39 AM: found 457 vulnerabilities (13 low, 263 moderate, 151 high, 30 critical)
6:51:39 AM:   run `npm audit fix` to fix them, or `npm audit` for details
6:51:39 AM: npm packages installed
6:51:40 AM: Successfully installed dependencies
6:51:40 AM: Starting build script
6:51:41 AM: Detected 1 framework(s)
6:51:41 AM: "gatsby" at version "2.32.13"
6:51:41 AM: Section completed: initializing
Building
Complete
Deploying
Failed
6:58:36 AM: Deploy site                                                   
6:58:36 AM: ────────────────────────────────────────────────────────────────
6:58:36 AM: ​
6:58:36 AM: Starting to deploy site from 'gatsby/public'
6:58:37 AM: Calculating files to upload
6:58:37 AM: Execution cancelled
6:58:37 AM: Failing build: Failed to build site
Cleanup
Skipped
Post-processing
Skipped

The build is failing because you’re using an unsupported version of node for functions - please refer to this guide for how to upgrade that version:

Thanks @sid.m this fixed it.

1 Like