Hey folks,
I have a Gatsby blog deployed to Netlify. My deployments were running successfully until today, when the deployment failed for some reason.
Below is the deploy log:
4:30:05 PM: build-image version: d7b3813f01c06610bc1723ff1b22446513ee7941 (focal)
4:30:05 PM: build-image tag: v4.14.3
4:30:05 PM: buildbot version: be0925a1b4e8f8d2c5a767f3e0decf8856cad273
4:30:05 PM: Building without cache
4:30:05 PM: Starting to prepare the repo for build
4:30:05 PM: No cached dependencies found. Cloning fresh repo
4:30:05 PM: git clone https://github.com/sundaray/hemanta.io
4:30:07 PM: Preparing Git Reference refs/heads/master
4:30:08 PM: Parsing package.json dependencies
4:30:09 PM: Starting build script
4:30:09 PM: Installing dependencies
4:30:09 PM: Python version set to 2.7
4:30:09 PM: Downloading and installing node v12.18.0...
4:30:10 PM: Downloading https://nodejs.org/dist/v12.18.0/node-v12.18.0-linux-x64.tar.xz...
4:30:10 PM: Computing checksum with sha256sum
4:30:10 PM: Checksums matched!
4:30:11 PM: Now using node v12.18.0 (npm v6.14.4)
4:30:11 PM: Started restoring cached build plugins
4:30:11 PM: Finished restoring cached build plugins
4:30:11 PM: Attempting ruby version 2.7.1, read from environment
4:30:12 PM: Required ruby-2.7.1 is not installed - installing.
4:30:12 PM: Searching for binary rubies, this might take some time.
4:30:12 PM: Found remote file https://rvm_io.global.ssl.fastly.net/binaries/ubuntu/20.04/x86_64/ruby-2.7.1.tar.bz2
4:30:12 PM: Checking requirements for ubuntu.
4:30:12 PM: Requirements installation successful.
4:30:12 PM: ruby-2.7.1 - #configure
4:30:12 PM: ruby-2.7.1 - #download
4:30:13 PM: ruby-2.7.1 - #validate archive
4:30:16 PM: ruby-2.7.1 - #extract
4:30:18 PM: ruby-2.7.1 - #validate binary
4:30:18 PM: ruby-2.7.1 - #setup
4:30:18 PM: ruby-2.7.1 - #gemset created /opt/buildhome/.rvm/gems/ruby-2.7.1@global
4:30:18 PM: ruby-2.7.1 - #importing gemset /opt/buildhome/.rvm/gemsets/global.gems........................................
4:30:19 PM: ruby-2.7.1 - #generating global wrappers........
4:30:19 PM: ruby-2.7.1 - #gemset created /opt/buildhome/.rvm/gems/ruby-2.7.1
4:30:19 PM: ruby-2.7.1 - #importing gemsetfile /opt/buildhome/.rvm/gemsets/default.gems evaluated to empty gem list
4:30:19 PM: ruby-2.7.1 - #generating default wrappers........
4:30:19 PM: Using /opt/buildhome/.rvm/gems/ruby-2.7.1
4:30:19 PM: Using ruby version 2.7.1
4:30:20 PM: Using PHP version 8.0
4:30:20 PM: No npm workspaces detected
4:30:20 PM: Started restoring cached node modules
4:30:20 PM: Finished restoring cached node modules
4:30:20 PM: Installing NPM modules using NPM version 6.14.4
4:30:25 PM: 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!npm WARN tar ENOENT: no such file or directory, open '/opt/build/repo/node_modules/.staging/react-router-dom-81b611a4/LICENSE'
4:30:25 PM: npm WARN tar ENOENT: no such file or directory, open '/opt/build/repo/node_modules/.staging/react-router-dom-81b611a4/BrowserRouter.js'
4:30:25 PM: npm WARN tar ENOENT: no such file or directory, open '/opt/build/repo/node_modules/.staging/tailwindcss-bd18efcd/lib/css/preflight.css'
4:30:25 PM: npm WARN tar ENOENT: no such file or directory, open '/opt/build/repo/node_modules/.staging/tailwindcss-bd18efcd/types/generated/colors.d.ts'
4:30:25 PM: npm WARN tar ENOENT: no such file or directory, open '/opt/build/repo/node_modules/.staging/tailwindcss-bd18efcd/types/generated/corePluginList.d.ts'
4:30:25 PM: npm WARN tar ENOENT: no such file or directory, open '/opt/build/repo/node_modules/.staging/tailwindcss-bd18efcd/types/generated/default-theme.d.ts'
4:30:26 PM: npm ERR! Error while executing:
4:30:26 PM: npm ERR! /usr/bin/git ls-remote -h -t ssh://git@github.com/robb0wen/synthwave-vscode.git
4:30:26 PM: npm ERR!
4:30:26 PM: npm ERR! Host key verification failed.
4:30:26 PM: npm ERR! fatal: Could not read from remote repository.
4:30:26 PM: npm ERR!
4:30:26 PM: npm ERR! Please make sure you have the correct access rights
4:30:26 PM: npm ERR! and the repository exists.
4:30:26 PM: npm ERR!
4:30:26 PM: Creating deploy upload records
4:30:26 PM: npm ERR! exited with error code: 128
4:30:26 PM: npm ERR! A complete log of this run can be found in:
4:30:26 PM: npm ERR! /opt/buildhome/.npm/_logs/2022-11-13T11_00_26_739Z-debug.log
4:30:26 PM: Error during NPM install
4:30:26 PM: Build was terminated: Build script returned non-zero exit code: 1
4:30:27 PM: Failed during stage 'building site': Build script returned non-zero exit code: 1 (https://ntl.fyi/exit-code-1)
4:30:27 PM: Failing build: Failed to build site
4:30:27 PM: Finished processing build request in 21.864690225s
I did some Google research but could not figure out the problem. What do I need to do to resolve the errors?