Eleventy Deployment On Netlify Failed Without Any Explanation, After External Contributor Committed

Domain: https://arihantverma.com
Netlify Site URL: arihantverma.netlify.app

Screenshot of the last failing deployment ( and several others before it, identical )

i.e. the eleventy website is successfully building, but it’s failing in deploying it, without actually telling why ( no helpful error )

This started happening when I merged an external contributor’s PR into main branch. When I opened Netlify it declared me the fact that the PR was raised and merged by an external contributor and if I wanted to go ahead and deploy it ( along with a bunch of links to configure this, I didn’t really open them ). I reverted the PR and tried to manually deploy myself, including clearing cache and then redeploying, but the same error has been coming.

Full log:

11:24:48 PM: build-image version: fcb0c1b3ada6d25c1cb58e8bc514f5f23cc14f15 (focal)
11:24:48 PM: buildbot version: 949f978097ce456b0ebbd6633df01a071000be30
11:24:48 PM: Building without cache
11:24:48 PM: Starting to prepare the repo for build
11:24:48 PM: No cached dependencies found. Cloning fresh repo
11:24:48 PM: git clone --filter=blob:none https://github.com/arihantverma/arihantverma.com
11:24:48 PM: Preparing Git Reference refs/heads/main
11:24:49 PM: Custom functions path detected. Proceeding with the specified path: "netlify/functions"
11:24:51 PM: Starting to install dependencies
11:24:54 PM: Python version set to 3.8
11:24:54 PM: Attempting Ruby version 2.7.1, read from environment
11:24:54 PM: Required ruby-2.7.1 is not installed - installing.
11:24:55 PM: Searching for binary rubies, this might take some time.
11:24:55 PM: Found remote file https://rvm_io.global.ssl.fastly.net/binaries/ubuntu/20.04/x86_64/ruby-2.7.1.tar.bz2
11:24:55 PM: Checking requirements for ubuntu.
11:24:55 PM: Requirements installation successful.
11:24:55 PM: ruby-2.7.1 - #configure
11:24:55 PM: ruby-2.7.1 - #download
11:24:55 PM: ruby-2.7.1 - #validate archive
11:24:59 PM: ruby-2.7.1 - #extract
11:25:00 PM: ruby-2.7.1 - #validate binary
11:25:00 PM: ruby-2.7.1 - #setup
11:25:01 PM: ruby-2.7.1 - #gemset created /opt/buildhome/.rvm/gems/ruby-2.7.1@global
11:25:01 PM: ruby-2.7.1 - #importing gemset /opt/buildhome/.rvm/gemsets/global.gems........................................
11:25:01 PM: ruby-2.7.1 - #generating global wrappers........
11:25:01 PM: ruby-2.7.1 - #gemset created /opt/buildhome/.rvm/gems/ruby-2.7.1
11:25:01 PM: ruby-2.7.1 - #importing gemsetfile /opt/buildhome/.rvm/gemsets/default.gems evaluated to empty gem list
11:25:01 PM: ruby-2.7.1 - #generating default wrappers........
11:25:02 PM: Using /opt/buildhome/.rvm/gems/ruby-2.7.1
11:25:02 PM: Using Ruby version 2.7.1
11:25:02 PM: Started restoring cached go cache
11:25:02 PM: Finished restoring cached go cache
11:25:02 PM: Installing Go version 1.14.4 (requested 1.14.4)
11:25:07 PM: go version go1.14.4 linux/amd64
11:25:08 PM: Using PHP version 8.0
11:25:09 PM: Attempting Node.js version "14" from .nvmrc
11:25:10 PM: Downloading and installing node v14.21.3...
11:25:10 PM: Downloading https://nodejs.org/dist/v14.21.3/node-v14.21.3-linux-x64.tar.xz...
11:25:10 PM: Computing checksum with sha256sum
11:25:10 PM: Checksums matched!
11:25:12 PM: Now using node v14.21.3 (npm v6.14.18)
11:25:12 PM: Enabling Node.js Corepack
11:25:12 PM: Started restoring cached build plugins
11:25:12 PM: Finished restoring cached build plugins
11:25:12 PM: WARNING: The environment variable "NODE_ENV" is set to "production". Any "devDependencies" in package.json will not be installed
11:25:12 PM: Started restoring cached corepack dependencies
11:25:12 PM: Finished restoring cached corepack dependencies
11:25:12 PM: Started restoring cached yarn cache
11:25:12 PM: Finished restoring cached yarn cache
11:25:13 PM: Installing Yarn version 1.22.4
11:25:13 PM: Preparing yarn@1.22.4 for immediate activation...
11:25:13 PM: No yarn workspaces detected
11:25:13 PM: Started restoring cached node modules
11:25:13 PM: Finished restoring cached node modules
11:25:13 PM: Installing npm packages using Yarn version 1.22.4
11:25:13 PM: yarn install v1.22.4
11:25:13 PM: [1/4] Resolving packages...
11:25:14 PM: [2/4] Fetching packages...
11:25:22 PM: info fsevents@2.3.1: The platform "linux" is incompatible with this module.
11:25:22 PM: info "fsevents@2.3.1" is an optional dependency and failed compatibility check. Excluding it from installation.
11:25:22 PM: [3/4] Linking dependencies...
11:25:26 PM: [4/4] Building fresh packages...
11:25:29 PM: success Saved lockfile.
11:25:29 PM: Done in 16.02s.
11:25:29 PM: npm packages installed using Yarn
11:25:30 PM: Successfully installed dependencies
11:25:30 PM: Starting build script
11:25:33 PM: Detected 1 framework(s)
11:25:33 PM: "eleventy" at version "0.11.1"
11:25:33 PM: Section completed: initializing
11:25:35 PM: ​
11:25:35 PM: Netlify Build                                                 
11:25:35 PM: ────────────────────────────────────────────────────────────────
11:25:35 PM: ​
11:25:35 PM: ❯ Version
11:25:35 PM:   @netlify/build 29.36.0
11:25:35 PM: ​
11:25:35 PM: ❯ Flags
11:25:35 PM:   baseRelDir: true
11:25:35 PM:   buildId: 65edf3d84ab5708ee4156e52
11:25:35 PM:   deployId: 65edf3d84ab5708ee4156e54
11:25:35 PM: ​
11:25:35 PM: ❯ Current directory
11:25:35 PM:   /opt/build/repo
11:25:35 PM: ​
11:25:35 PM: ❯ Config file
11:25:35 PM:   /opt/build/repo/netlify.toml
11:25:35 PM: ​
11:25:35 PM: ❯ Context
11:25:35 PM:   production
11:25:35 PM: ​
11:25:35 PM: build.command from netlify.toml                               
11:25:35 PM: ────────────────────────────────────────────────────────────────
11:25:35 PM: ​
11:25:35 PM: $ npm run build
11:25:35 PM: > arihantverma.com@1.0.0 build /opt/build/repo
11:25:35 PM: > run-s clean build:*
11:25:35 PM: > arihantverma.com@1.0.0 clean /opt/build/repo
11:25:35 PM: > rimraf _site
11:25:35 PM: > arihantverma.com@1.0.0 build:webpack /opt/build/repo
11:25:35 PM: > webpack --env ELEVENTY_ENV=production --mode production
11:25:36 PM: asset site-main.js 1.6 KiB [emitted] [minimized] (name: main) 1 related asset
11:25:36 PM: orphan modules 2.17 KiB [orphan] 3 modules
11:25:36 PM: cacheable modules 3.31 KiB
11:25:36 PM:   ./js/main.js + 3 modules 2.25 KiB [built] [code generated]
11:25:36 PM:   ./js/api/spotify.js 1.07 KiB [built] [code generated]
11:25:36 PM: webpack 5.14.0 compiled successfully in 226 ms
11:25:36 PM: > arihantverma.com@1.0.0 build:eleventy /opt/build/repo
11:25:36 PM: > ELEVENTY_ENV=production eleventy
11:25:39 PM: Writing _site/sitemap.xml from ./sitemap.xml.njk.
11:25:39 PM: Writing _site/feed/feed.xml from ./feed/feed.njk.
11:25:39 PM: Writing _site/feed/feed.json from ./feed/json.njk.
11:25:39 PM: Writing _site/feed/.htaccess from ./feed/htaccess.njk.
11:25:39 PM: Writing _site/posts/2021/03/03/smashing-magazine-article/index.html from ./posts/tech/2021/2-feb/smashing-magazine-article.md.
11:25:39 PM: Writing _site/posts/2021/08/04/smashing-article/index.html from ./posts/tech/2021/6-august/smashing-article.md.
11:25:39 PM: Writing _site/404.html from ./404.md.
11:25:39 PM: Writing _site/index.html from ./index.njk.
11:25:39 PM: Writing _site/tags/index.html from ./tags-list.njk.
11:25:39 PM: Writing _site/tags/desire/index.html from ./tags.njk.
11:25:39 PM: Writing _site/writing/index.html from ./pages/writing.md.
11:25:39 PM: Writing _site/page-list/index.html from ./page-list.njk.
11:25:39 PM: Writing _site/pages/archive/index.html from ./pages/archive.njk.
11:25:39 PM: Writing _site/about/index.html from ./pages/about/index.md.
11:25:39 PM: Writing _site/posts/2021/01/14/changing-narration-voices-and-tenses/index.html from ./posts/lit/2021/1-jan/changing-narration-voices-and-tenses.md.
11:25:39 PM: Writing _site/posts/2021/07/17/react-ui-state-model-vs-vanilla-js/index.html from ./posts/tech/2021/5-july/react-ui-state-model-vs-vanilla-js.md.
11:25:39 PM: Writing _site/posts/2021/10/20/watching-the-making-of-a-prodigy/index.html from ./posts/tech/2021/7-oct/watching-the-making-of-a-prodigy.md.
11:25:39 PM: Writing _site/posts/2021/01/03/being-useful-ft-hungry-bird-and-being-truthful-to-myself/index.html from ./posts/personal-essays/published/2020/dec/being-useful-ft-hungry-bird-and-being-truthful-to-myself.md.
11:25:39 PM: Writing _site/posts/2021/01/10/creatures-and-old-friend/index.html from ./posts/personal-essays/published/2021/1-jan/creatures-and-old-friend.md.
11:25:39 PM: Writing _site/posts/2021/12/16/palpitations-and-the-way-out/index.html from ./posts/personal-essays/published/2021/4-dec/palpitations-and-the-way-out.md.
11:25:39 PM: Writing _site/posts/2021/12/13/about-strange-thing-about-love/index.html from ./posts/personal-essays/published/2021/4-dec/about-strange-thing-about-love.md.
11:25:39 PM: Writing _site/posts/2021/12/21/songs-lyrics-i-got-wrong/index.html from ./posts/personal-essays/published/2021/4-dec/songs-lyrics-i-got-wrong.md.
11:25:39 PM: Writing _site/tags/ambition/index.html from ./tags.njk.
11:25:39 PM: Writing _site/page-list/1/index.html from ./page-list.njk.
11:25:39 PM: Writing _site/tags/lack/index.html from ./tags.njk.
11:25:39 PM: Writing _site/page-list/2/index.html from ./page-list.njk.
11:25:39 PM: Writing _site/tags/dream/index.html from ./tags.njk.
11:25:39 PM: Writing _site/page-list/3/index.html from ./page-list.njk.
11:25:39 PM: Writing _site/tags/writing/index.html from ./tags.njk.
11:25:39 PM: Writing _site/page-list/4/index.html from ./page-list.njk.
11:25:39 PM: Writing _site/tags/short fiction/index.html from ./tags.njk.
11:25:39 PM: Writing _site/page-list/5/index.html from ./page-list.njk.
11:25:39 PM: Writing _site/tags/tense/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/narration/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/voice/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/book musing/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/reading/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/hospital/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/India/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/healthcare/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/grief/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/death/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/life/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/tech essay/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/github/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/pull request/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/mistake/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/side hustle/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/second income/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/money/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/code/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/mentoring/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/foundation/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/tech/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/empathy/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/people/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/React/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/opensource/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/smashingmagazine/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/learning/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/work/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/essay/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/culture/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/JavaScript/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/beginnner/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/introdution/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/Nextjs/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/javascript/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/web/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/personal essay/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/bird/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/service/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/gratitude/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/truth/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/birds/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/nature/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/friends/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/sunset/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/passive income/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/stories/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/poop/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/humour/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/toilet/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/letting go/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/palpitations/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/knowledge/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/love/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/poems/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/priorities/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/self/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/dance/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/fun/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/songs/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/lyrics/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/wrong/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/mystery/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/morning/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/children/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/eavesdropping/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/meditation/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/Sudarshan Kriya/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/cleansing/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/neighbours/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/emotions/index.html from ./tags.njk.
11:25:39 PM: Writing _site/tags/purpose/index.html from ./tags.njk.
11:25:40 PM: Writing _site/tags/mind/index.html from ./tags.njk.
11:25:40 PM: Writing _site/tags/strangers/index.html from ./tags.njk.
11:25:40 PM: Writing _site/tags/silence/index.html from ./tags.njk.
11:25:40 PM: Writing _site/posts/2021/07/18/workaround-nextjs-data-urls-same-domain-multiple-apps/index.html from ./posts/tech/2021/5-july/workaround-nextjs-data-urls-same-domain-multiple-apps.md.
11:25:40 PM: Writing _site/posts/2021/02/10/when-a-pr-cost-me-28000-rupees/index.html from ./posts/tech/2021/2-feb/when-a-pr-cost-me-28000-rupees.md.
11:25:40 PM: Writing _site/posts/2021/02/14/valentines-day-potty-memories/index.html from ./posts/personal-essays/published/2021/2-feb/valentines-day-potty-memories.md.
11:25:41 PM: Writing _site/posts/2022/01/15/notes-on-grief/index.html from ./posts/lit/2022/1-jan/notes-on-grief.md.
11:25:41 PM: Writing _site/posts/2021/12/21/if-on-a-winters-night-a-traveller-1/index.html from ./posts/lit/2021/3-dec/if-on-a-winters-night-a-traveller-1.md.
11:25:41 PM: Writing _site/posts/2021/05/04/experiencing-earning-money-through-codementor/index.html from ./posts/tech/2021/4-may/experiencing-earning-money-through-codementor.md.
11:25:42 PM: Writing _site/posts/2023/12/21/struggling-experiences-at-hospitals/index.html from ./posts/personal-essays/published/2023/struggling-experiences-at-hospitals.md.
11:25:42 PM: Writing _site/posts/2021/07/02/the-problem-with-rockstar-culture/index.html from ./posts/tech/2021/5-july/the-problem-with-rockstar-culture.md.
11:25:42 PM: Writing _site/posts/2022/11/23/lack-of-burning-desire-of-dreaming-big/index.html from ./posts/tech/2022/lack-of-burning-desire-of-dreaming-big.md.
11:25:42 PM: Writing _site/posts/2021/05/30/time-lost-but-learning/index.html from ./posts/tech/2021/4-may/time-lost-but-learning.md.
11:25:42 PM: Writing _site/posts/2023/12/14/where-does-the-empathy-go/index.html from ./posts/personal-essays/published/2023/where-does-the-empathy-go.md.
11:25:42 PM: Writing _site/posts/2021/01/23/thinking-about-writing-as-means-of-livelihood/index.html from ./posts/personal-essays/published/2021/1-jan/thinking-about-writing-as-means-of-livelihood.md.
11:25:42 PM: Writing _site/posts/2021/06/05/learning-to-teach/index.html from ./posts/personal-essays/published/2021/3-june/learning-to-teach.md.
11:25:43 PM: Writing _site/posts/2021/12/26/why-is-sudarshan-kriya-like-brushing/index.html from ./posts/personal-essays/published/2021/4-dec/why-is-sudarshan-kriya-like-brushing.md.
11:25:43 PM: Writing _site/posts/2022/01/27/baby/index.html from ./posts/personal-essays/published/2022/1-jan/baby.md.
11:25:43 PM: Writing _site/posts/2022/05/05/in-the-moments-of-passing-quiet/index.html from ./posts/personal-essays/published/2022/3-may/in-the-moments-of-passing-quiet.md.
11:25:43 PM: Writing _site/posts/2022/02/21/eavesdropping-on-neighbours/index.html from ./posts/personal-essays/published/2022/2-feb/eavesdropping-on-neighbours.md.
11:25:43 PM: Writing _site/posts/2022/02/21/outreaching-hands-of-intuition/index.html from ./posts/personal-essays/published/2022/2-feb/outreaching-hands-of-intuition.md.
11:25:43 PM: Writing _site/posts/2022/02/08/eavesdropping/index.html from ./posts/personal-essays/published/2022/2-feb/eavesdropping.md.
11:25:43 PM: Benchmark (Configuration): "cssmin" Nunjucks Filter took 863ms (13.3%, called 134Γ—, 6.4ms each)
11:25:43 PM: Copied 52 files / Wrote 127 files in 5.94 seconds (46.8ms each, v0.11.1)
11:25:43 PM: ​
11:25:43 PM: (build.command completed in 8.3s)
11:25:43 PM: ​
11:25:43 PM: Functions bundling                                            
11:25:43 PM: ────────────────────────────────────────────────────────────────
11:25:43 PM: ​
11:25:43 PM: Packaging Functions from netlify/functions directory:
11:25:43 PM:  - spotify.js
11:25:43 PM: ​
11:25:43 PM: ​
11:25:43 PM: (Functions bundling completed in 127ms)
11:25:43 PM: ​
11:25:43 PM: Deploy site                                                   
11:25:43 PM: ────────────────────────────────────────────────────────────────
11:25:43 PM: ​
11:25:43 PM: Starting to deploy site from "_site"
11:25:43 PM: Calculating files to upload
11:25:43 PM: Execution cancelled
11:25:43 PM: Failing build: Failed to build site
11:25:44 PM: Finished processing build request in 55.824s

I think the error is self-explanatory:

Change the Node.js version for your site here: Build & deploy | Site configuration | arihantverma | Netlify and ensure you’re not setting the Node.js version anywhere in your site (like .npmrc or netlify.toml or any environment variables).

1 Like

Oh sheesh, I really need some sleep :rofl:. Thanks so much for citing the obvious and right there that i couldn’t see :see_no_evil: