Netlify build error : "Deploy processing failed after 5 attempts"

Hello,
I don’t understand this error.
I’m using NuxtJs to deploy with “nuxt generate” command to deploy the website.
Everything is built in the logs (assets, urls) and the dynamic pages are created with the “generate” method. Everything is good in the logs, but at the end Netlify doesn’t publish the website with the error.

Can someone help me to understand the error ?

thanks !

here are the logs :

10:44:11 AM: Build ready to start
10:44:13 AM: build-image version: 9cade8af58c2cf3a17a1e9433d2e979149488837
10:44:13 AM: build-image tag: v3.3.5
10:44:13 AM: buildbot version: 2fd8f04962d5dbc77b79b9c2f5ab7a077e87376b
10:44:13 AM: Fetching cached dependencies
10:44:13 AM: Starting to download cache of 254.9KB
10:44:13 AM: Finished downloading cache in 77.111762ms
10:44:13 AM: Starting to extract cache
10:44:13 AM: Failed to fetch cache, continuing with build
10:44:13 AM: Starting to prepare the repo for build
10:44:14 AM: No cached dependencies found. Cloning fresh repo
10:44:14 AM: git clone git@bitbucket.org:studio-web-uni/vitrine-front
10:44:20 AM: Preparing Git Reference refs/heads/master
10:44:22 AM: Starting build script
10:44:22 AM: Installing dependencies
10:44:23 AM: Downloading and installing node v10.19.0...
10:44:23 AM: Downloading https://nodejs.org/dist/v10.19.0/node-v10.19.0-linux-x64.tar.xz...
10:44:24 AM: 
###########################
10:44:24 AM:                           38.7%
10:44:24 AM: 
##############################
10:44:24 AM: ########################################## 100.0%
10:44:24 AM: Computing checksum with sha256sum
10:44:24 AM: Checksums matched!
10:44:26 AM: Now using node v10.19.0 (npm v6.13.4)
10:44:26 AM: Attempting ruby version 2.6.2, read from environment
10:44:28 AM: Using ruby version 2.6.2
10:44:28 AM: Using PHP version 5.6
10:44:28 AM: Started restoring cached node modules
10:44:28 AM: Finished restoring cached node modules
10:44:28 AM: Started restoring cached yarn cache
10:44:28 AM: Finished restoring cached yarn cache
10:44:28 AM: Installing yarn at version 1.17.0
10:44:28 AM: Installing Yarn!
10:44:28 AM: > Downloading tarball...
10:44:28 AM: [1/2]: https://yarnpkg.com/downloads/
10:44:28 AM: 1.17.0/yarn-v1.17.0.tar.gz --> /tmp/yarn.tar.gz.txm77bJFKF
10:44:28 AM:   % Total    % Received % Xferd  A
10:44:28 AM: verage Speed   Time    Time     Time  Current
10:44:28 AM:                                  Dload  Upload
10:44:28 AM:   Total   Spent    Left  Speed
10:44:28 AM: 
  0     0    0     0
10:44:28 AM:   0     0      0      0 --:--:-- --:--:-- --:--:--     0
10:44:28 AM: 
  0    80    0     0    0     0      0      0 --:--:-- --:
10:44:28 AM: --:-- --:--:--     0
100    80  100    80    0     0    234      0 --:--:-- --
10:44:28 AM: :--:-- --:--:--   234
10:44:30 AM: 
  0     0    0     0    0     0      0      0 --:--:-
10:44:30 AM: -  0:00:01 --:--:--     0
10:44:31 AM: 
  0     0    0     0    0     0      0
10:44:31 AM:  0 --:--:--  0:00:02 --:--:--     0
10:44:31 AM: 
100    93  100    93    0     0     29
10:44:31 AM:       0  0:00:03  0:00:03 --:--:--    72
10:44:31 AM: 
  0     0    0     0    0     0      0      0 --:--:--  0:00:03 --:--:--
10:44:31 AM:     0
10:44:31 AM: 
100   609  100   609    0     0
10:44:31 AM:    172      0  0:00:03  0:00:03 --:--:--  3878
10:44:32 AM: 
 19 1213k   19  237k    0     0  56002      0  0:00:22  0:00:04  0:00:18 56002
10:44:33 AM: 
100 1213k  100 1213k    0     0   229k      0  0:00:05  0:00:05 --:--:-- 1037k
10:44:33 AM: [2/2]: https://
10:44:33 AM: yarnpkg.com/downloads/1.17.0/yarn-v1.17.0.tar.gz.asc --> /tmp/yarn.tar.gz.txm77bJFKF.asc
10:44:33 AM: 
100    84  100    84    0     0   2619
10:44:33 AM:       0 --:--:-- --:--:-- --:--:--  2619
10:44:33 AM: 
  0     0    0     0    0     0
10:44:33 AM:     0      0 --:--:-- --:--:-- --:--:--     0
10:44:33 AM: 
100    97  100    97    0
10:44:33 AM:  0   1494      0 --:--:-- --:--:-- --:--:--  3129
10:44:33 AM: 
100   613  100   613    0     0   3185      0 -
10:44:33 AM: -:--:-- --:--:-- --:--:--  3185
10:44:33 AM: 
100   832  100   832    0     0
10:44:33 AM:  3365      0 --:--:-- --:--:-- --:--:--  3365
10:44:33 AM: > Verifying integrity...
10:44:33 AM: gpg: Signature made Fri 14 Jun 2019 06:55:58 PM UTC using RSA key ID 69475BAA
10:44:33 AM: gpg: Good signature from "Yarn Packaging <yarn@dan.cx>"
10:44:33 AM: gpg: Note: This key has expired!
10:44:33 AM: Primary key fingerprint: 72EC F46A 56B4 AD39 C907
10:44:33 AM:   BBB7 1646 B01B 86E5 0310
10:44:33 AM:      Subkey fingerprint: 6D98 490C 6F1A CDDD 448E  4595 4F77 6793 6947 5BAA
10:44:33 AM: > GPG signature looks good
10:44:33 AM: > Extracting to ~/.yarn...
10:44:34 AM: > Adding to $PATH...
10:44:34 AM: > Successfully installed Yarn 1.17.0! Please open another terminal where the `yarn` command will now be available.
10:44:34 AM: Installing NPM modules using Yarn version 1.17.0
10:44:35 AM: yarn install v1.17.0
10:44:35 AM: warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
10:44:35 AM: [1/4] Resolving packages...
10:44:36 AM: warning @nuxtjs/google-tag-manager@2.3.1: please migrate to https://github.com/nuxt-community/gtm-module
10:44:37 AM: [2/4] Fetching packages...
10:44:51 AM: info fsevents@2.1.2: The platform "linux" is incompatible with this module.
10:44:51 AM: info "fsevents@2.1.2" is an optional dependency and failed compatibility check. Excluding it from installation.
10:44:51 AM: info fsevents@1.2.9: The platform "linux" is incompatible with this module.
10:44:51 AM: info "fsevents@1.2.9" is an optional dependency and failed compatibility check. Excluding it from installation.
10:44:51 AM: [3/4] Linking dependencies...
10:44:51 AM: warning " > ks-vue-scrollmagic@1.0.2" has unmet peer dependency "vue@^2.3.0".
10:44:51 AM: warning "@bazzite/nuxt-optimized-images > raw-loader@2.0.0" has unmet peer dependency "webpack@^4.3.0".
10:44:51 AM: warning "@bazzite/nuxt-optimized-images > url-loader@1.1.2" has unmet peer dependency "webpack@^3.0.0 || ^4.0.0".
10:44:51 AM: warning " > sass-loader@7.1.0" has unmet peer dependency "webpack@^3.0.0 || ^4.0.0".
10:44:51 AM: warning " > webp-loader@0.5.0" has unmet peer dependency "webpack@*".
10:44:51 AM: warning " > webp-loader@0.5.0" has unmet peer dependency "webpack-cli@*".
10:44:58 AM: [4/4] Building fresh packages...
10:45:01 AM: success Saved lockfile.
10:45:01 AM: Done in 26.04s.
10:45:01 AM: NPM modules installed using Yarn
10:45:01 AM: Started restoring cached go cache
10:45:01 AM: Finished restoring cached go cache
10:45:01 AM: unset GOOS;
10:45:01 AM: unset GOARCH;
10:45:01 AM: export GOROOT='/opt/buildhome/.gimme/versions/go1.12.linux.amd64';
10:45:01 AM: export PATH="/opt/buildhome/.gimme/versions/go1.12.linux.amd64/bin:${PATH}";
10:45:01 AM: go version >&2;
10:45:01 AM: export GIMME_ENV='/opt/buildhome/.gimme/env/go1.12.linux.amd64.env';
10:45:01 AM: go version go1.12 linux/amd64
10:45:01 AM: Installing missing commands
10:45:01 AM: Verify run directory
10:45:01 AM: Executing user command: nuxt generate
10:45:04 AM: ℹ Production build
10:45:05 AM: File deleted!
10:45:05 AM: File deleted! (repeated 1 times)
10:45:05 AM: ✔ Builder initialized
10:45:05 AM: ✔ Nuxt files generated
10:45:05 AM:  WARN  Browserslist: caniuse-lite is outdated. Please run next command yarn upgrade
10:45:07 AM: ℹ Compiling Client
10:45:07 AM:  ERROR  (node:1544) DeprecationWarning: Tapable.plugin is deprecated. Use new API on .hooks instead
10:45:07 AM: ./static/types/data.json Write Successful
10:45:07 AM: ./static/cities/data.json Write Successful
10:45:09 AM: ./static/biens/data.json Write Successful
10:45:31 AM: ✔ Client: Compiled successfully in 24.46s
10:45:31 AM: ℹ Compiling Server
10:45:40 AM: ✔ Server: Compiled successfully in 8.30s
10:45:40 AM: Hash: fbc62f68d05fc301389d
10:45:40 AM: Version: webpack 4.41.6
10:45:40 AM: Time: 24466ms
10:45:40 AM: Built at: 02/17/2020 9:45:31 AM
10:45:40 AM:                          Asset       Size  Chunks                                Chunk Names
10:45:40 AM: ../server/client.manifest.json   31.3 KiB          [emitted]
10:45:40 AM:        02e3dcce3a7fd57a4df2.js   99.2 KiB       8  [emitted] [immutable]         pages/index
10:45:40 AM:        102d9ff36d5adbcd35be.js   44.1 KiB       6  [emitted] [immutable]         pages/contact
10:45:40 AM:        228d744fba03cd1db6c2.js   2.55 KiB      12  [emitted] [immutable]         runtime
10:45:40 AM:        47327f995b54ad2a5525.js    190 KiB       2  [emitted] [immutable]         commons.app
10:45:40 AM:        54f52f1f73514aab3d81.js   37.8 KiB       7  [emitted] [immutable]         pages/estimation/index
10:45:40 AM:        5de62cfefcc0a9c95537.js   52.9 KiB       4  [emitted] [immutable]         pages/biens/_slug
10:45:40 AM:        64416c8f25b727c9eaab.js   13.8 KiB      10  [emitted] [immutable]         pages/success
10:45:40 AM:        6aae202745a9f01ba5e0.js   11.7 KiB      14  [emitted] [immutable]         vendors.pages/biens/_slug
10:45:40 AM:        6bf1b8c18bee6d89c66e.js   28.2 KiB      11  [emitted] [immutable]         pages/vendre/index
10:45:40 AM:        71a042ad037d68c975a2.js    108 KiB       0  [emitted] [immutable]         pages/biens/_slug.pages/biens/index.pages/index
10:45:40 AM:        7e56a4fef1a7a5880df4.js   96.5 KiB       5  [emitted] [immutable]         pages/biens/index
10:45:40 AM:        8d45d2798bd448ca56df.js    498 KiB      13  [emitted] [immutable]  [big]  vendors.app
10:45:40 AM:        9235eebfd37ab3731c01.js   26.3 KiB       3  [emitted] [immutable]         pages/acheter/index
10:45:40 AM:        9e25b023dd26638110e6.js    102 KiB       1  [emitted] [immutable]         app
10:45:40 AM:                       LICENSES   6.07 KiB          [emitted]
10:45:40 AM:        f24177de69ceac89a5dd.js   18.5 KiB       9  [emitted] [immutable]         pages/mentions-legales
10:45:40 AM: icons/icon_120.d1CxYScCpwC.png    8.2 KiB          [emitted]
10:45:40 AM: icons/icon_144.d1CxYScCpwC.png   10.5 KiB          [emitted]
10:45:40 AM: icons/icon_152.d1CxYScCpwC.png   11.3 KiB          [emitted]
10:45:40 AM: icons/icon_192.d1CxYScCpwC.png   15.9 KiB          [emitted]
10:45:40 AM: icons/icon_384.d1CxYScCpwC.png   45.7 KiB          [emitted]
10:45:40 AM: icons/icon_512.d1CxYScCpwC.png   62.5 KiB          [emitted]
10:45:40 AM:  icons/icon_64.d1CxYScCpwC.png   3.66 KiB          [emitted]
10:45:40 AM:                img/036cf9d.png    302 KiB          [emitted]              [big]
10:45:40 AM:                img/0d15166.png   11.7 KiB          [emitted]
10:45:40 AM:                img/1d5aa88.png     34 KiB          [emitted]
10:45:40 AM:                img/2d3d995.png    221 KiB          [emitted]
10:45:40 AM:                img/2e5a04c.png    117 KiB          [emitted]
10:45:40 AM:                img/487365e.svg   1.21 KiB          [emitted]
10:45:40 AM:                img/4886ab3.png   28.8 KiB          [emitted]
10:45:40 AM:                img/5b38ee1.png   24.6 KiB          [emitted]
10:45:40 AM:                img/6091d15.png    138 KiB          [emitted]
10:45:40 AM:                img/63e019c.png    386 KiB          [emitted]              [big]
10:45:40 AM:                img/798b008.png   4.33 KiB          [emitted]
10:45:40 AM:                img/80b1293.jpg   46.3 KiB          [emitted]
10:45:40 AM:                img/84b39e0.png    125 KiB          [emitted]
10:45:40 AM:                img/8f2c0a0.png    541 KiB          [emitted]              [big]
10:45:40 AM:                img/a19d9de.png    149 KiB          [emitted]
10:45:40 AM:                img/b92e431.png    101 KiB          [emitted]
10:45:40 AM:                img/bfd4955.png   63.6 KiB          [emitted]
10:45:40 AM:                img/c1ba280.png   15.5 KiB          [emitted]
10:45:40 AM:                img/c7f6869.png   1.09 MiB          [emitted]              [big]
10:45:40 AM:                img/cab7cd1.png    426 KiB          [emitted]              [big]
10:45:40 AM:                img/cc08594.png    748 KiB          [emitted]              [big]
10:45:40 AM:                img/e07f0a0.png   10.1 KiB          [emitted]
10:45:40 AM:                img/ea40a72.svg   5.12 KiB          [emitted]
10:45:40 AM:                img/f243d91.png    839 KiB          [emitted]              [big]
10:45:40 AM:         manifest.3b386c10.json  744 bytes          [emitted]
10:45:40 AM:  + 2 hidden assets
10:45:40 AM: Entrypoint app = 228d744fba03cd1db6c2.js 47327f995b54ad2a5525.js 8d45d2798bd448ca56df.js 9e25b023dd26638110e6.js
10:45:40 AM: WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
10:45:40 AM: This can impact web performance.
10:45:40 AM: Assets:
10:45:40 AM:   img/63e019c.png (386 KiB)
10:45:40 AM:   img/8f2c0a0.png (541 KiB)
10:45:40 AM:   img/cab7cd1.png (426 KiB)
10:45:40 AM:   img/036cf9d.png (302 KiB)
10:45:40 AM:   img/cc08594.png (748 KiB)
10:45:40 AM:   img/c7f6869.png (1.09 MiB)
10:45:40 AM:   img/f243d91.png (839 KiB)
10:45:40 AM:   8d45d2798bd448ca56df.js (498 KiB)
10:45:40 AM: Hash: 53e8bc36ec1563c59671
10:45:40 AM: Version: webpack 4.41.6
10:45:40 AM: Time: 8305ms
10:45:40 AM: Built at: 02/17/2020 9:45:40 AM
10:45:40 AM:                   Asset       Size  Chunks                         Chunk Names
10:45:40 AM: 25966883298593bc950c.js    203 KiB       3  [emitted] [immutable]  pages/biens/index
10:45:40 AM: 514cac01856aed797673.js   38.5 KiB       5  [emitted] [immutable]  pages/estimation/index
10:45:40 AM: 67fc0656e819e1cab511.js   28.8 KiB       9  [emitted] [immutable]  pages/vendre/index
10:45:40 AM: 690fb614b3ae56417b79.js    162 KiB       2  [emitted] [immutable]  pages/biens/_slug
10:45:40 AM: 88efa4436c4457304cfe.js   45.3 KiB       4  [emitted] [immutable]  pages/contact
10:45:40 AM: c02ab639ae4b9efa8fc2.js   14.1 KiB       8  [emitted] [immutable]  pages/success
10:45:40 AM: c0372a5cd5903fe95b00.js   26.8 KiB       1  [emitted] [immutable]  pages/acheter/index
10:45:40 AM: d1ae9ef7cd3e92932794.js    208 KiB       6  [emitted] [immutable]  pages/index
10:45:40 AM: e5504ed165d01d406fc7.js   18.8 KiB       7  [emitted] [immutable]  pages/mentions-legales
10:45:40 AM:               server.js   85.2 KiB       0  [emitted]              app
10:45:40 AM:    server.manifest.json  609 bytes          [emitted]
10:45:40 AM: Entrypoint app = server.js
10:45:40 AM: ℹ Generating pages
10:45:42 AM: ✔ Generated /acheter
10:45:42 AM: ✔ Generated /contact
10:45:42 AM: ✔ Generated /estimation
10:45:42 AM: ✔ Generated /mentions-legales
10:45:42 AM: ✔ Generated /biens/terrain-denviron-26-8-ares-a-elbach
10:45:42 AM: ✔ Generated /success
10:45:42 AM: ✔ Generated /biens/terrain-denviron-11-7-ares-proche-dannemarie
10:45:42 AM: ✔ Generated /biens/maison-mitoyenne-a-wattwiller
10:45:42 AM: ✔ Generated /biens/terrain-denviron-11-ares-proche-altkirch
10:45:42 AM: ✔ Generated /vendre
10:45:42 AM: ✔ Generated /biens/maison-a-fontaine
10:45:42 AM: ✔ Generated /biens/duplex-a-rixheim
10:45:42 AM: ✔ Generated /biens/maison-plain-pied-a-bavilliers
10:45:42 AM: ✔ Generated /biens/maison-a-elbach
10:45:42 AM: ✔ Generated /biens/immeuble-special-investisseur-mulhouse
10:45:42 AM: ✔ Generated /biens/maison-a-mulhouse-special-investisseurs
10:45:42 AM: ✔ Generated /biens/appartement-avec-balcon-dans-une-residence-de-standing-a-richwiller
10:45:42 AM: ✔ Generated /biens
10:45:42 AM: ✔ Generated /biens/richwiller-centre-chalet-en-bois
10:45:42 AM: ✔ Generated /
10:45:42 AM: ✔ Generated /biens/appartement-quai-dalma-mulhouse
10:45:42 AM: ✔ Generated /biens/maison-contemporaine-a-morschwiller-le-bas
10:45:42 AM: Skipping functions preparation step: no functions directory set
10:45:42 AM: Caching artifacts
10:45:42 AM: Started saving node modules
10:45:42 AM: Finished saving node modules
10:45:42 AM: Started saving yarn cache
10:45:42 AM: Finished saving yarn cache
10:45:42 AM: Started saving pip cache
10:45:43 AM: Finished saving pip cache
10:45:43 AM: Started saving emacs cask dependencies
10:45:43 AM: Finished saving emacs cask dependencies
10:45:43 AM: Started saving maven dependencies
10:45:43 AM: Finished saving maven dependencies
10:45:43 AM: Started saving boot dependencies
10:45:43 AM: Finished saving boot dependencies
10:45:43 AM: Started saving go dependencies
10:45:43 AM: Finished saving go dependencies
10:45:45 AM: Build script success
10:45:45 AM: Starting to deploy site from 'dist'
10:45:45 AM: Creating deploy tree 
10:45:45 AM: 0 new files to upload
10:45:45 AM: Starting post processing
10:45:45 AM: 0 new functions to upload
10:45:45 AM: Starting post processing
10:45:45 AM: Starting post processing
10:45:46 AM: Starting post processing
10:45:46 AM: Starting post processing
10:46:11 AM: Finished processing build request in 1m57.73483239s

If you’d let me know the deploy ID (hash at the end of the logs page URL). Using it, I may be able to find the offending filename (it’s usually one in particular that causes our processing to fail). Disabling our
asset optimization in build & deploy settings (near the bottom of the page), will also likely “fix” things :slight_smile:

Hello !
Thanks for your reply :slight_smile:
here is the deploy ID : 5e4a606b34f94f5ba573d0e9
Hope you can help me :smiley:

As far as I can tell from our internal logs, you have a reference to some file that is not present in your deploy, somewhere in your /acheter/index.html

Thanks for your reply ! :slight_smile:

I inspected this file and nothing is wrong, so I really don’t understand why it doesn’t work. If a reference to another file failed, my linter would not let me generate the website without errors, and on localhost I can generate the website without errors (same in the Netlify deploy logs).

Do you have further informations ?

Thanks ! :smiley:

remi-uni,

one thing that sometimes causes problems is a difference in case (a file reference/import statement is a different case than the file name). We see it all the time that it works locally, but causes problems when the project is built.

Is that the situation here, maybe? :thinking: