This morning, when trying to deploy a branch, I got this error:
9:54:06 AM: Build ready to start
9:54:08 AM: build-image version: be42e453d6c8f171cc2f654acc29c0a8b60e6d93
9:54:08 AM: build-image tag: v3.7.1
9:54:08 AM: buildbot version: 746e1678cac5f8b3f4105502207986ec93202557
9:54:08 AM: Building without cache
9:54:08 AM: Starting to prepare the repo for build
9:54:10 AM: No cached dependencies found. Cloning fresh repo
9:54:10 AM: git clone <redacted>
9:54:11 AM: Preparing Git Reference refs/heads/netlify-csp-generator
9:54:12 AM: Parsing package.json dependencies
9:54:13 AM: Starting build script
9:54:13 AM: Installing dependencies
9:54:13 AM: Python version set to 2.7
9:54:14 AM: Attempting node version 'v14.16.0
' from .nvmrc
9:54:14 AM: Version 'v14.16.0
' not found - try `nvm ls-remote` to browse available versions.
9:54:14 AM: Failed to install node version 'v14.16.0
'
9:54:14 AM: Build was terminated: Build script returned non-zero exit code: 1
9:54:14 AM: Failing build: Failed to build site
9:54:14 AM: Failed during stage 'building site': Build script returned non-zero exit code: 1
9:54:14 AM: Finished processing build request in 6.769108133s
I have a .nvmrc
file as the default Node version is incompatible with Tailwind. This is set to version v14.16.0
, but I’ve tried a few versions and they always get the same error.
The annoying thing is, it was working absolutely fine before, and always managed to install this version, until just now. What am I doing wrong?
Here's a working deploy a few minutes earlier
9:13:10 AM: Build ready to start
9:13:12 AM: build-image version: be42e453d6c8f171cc2f654acc29c0a8b60e6d93
9:13:12 AM: build-image tag: v3.7.1
9:13:12 AM: buildbot version: 746e1678cac5f8b3f4105502207986ec93202557
9:13:12 AM: Fetching cached dependencies
9:13:12 AM: Starting to download cache of 344.1MB
9:13:14 AM: Finished downloading cache in 1.826397878s
9:13:14 AM: Starting to extract cache
9:13:23 AM: Finished extracting cache in 9.35616819s
9:13:23 AM: Finished fetching cache in 11.297334112s
9:13:23 AM: Starting to prepare the repo for build
9:13:24 AM: Preparing Git Reference refs/heads/master
9:13:25 AM: Parsing package.json dependencies
9:13:26 AM: Starting build script
9:13:26 AM: Installing dependencies
9:13:26 AM: Python version set to 2.7
9:13:26 AM: Started restoring cached node version
9:13:29 AM: Finished restoring cached node version
9:13:29 AM: Attempting node version 'v14.6.0' from .nvmrc
9:13:30 AM: v14.6.0 is already installed.
9:13:31 AM: Now using node v14.6.0 (npm v6.14.6)
9:13:31 AM: Started restoring cached build plugins
9:13:31 AM: Finished restoring cached build plugins
Site URL is tillys-website.netlify.app