Hello, I am having an issue with deploying my site to netlify. I am using the sanity-gatsby blog starter. Been tweaking it locally, and everything was working fine. When I committed my changes to my repo, and deployed my site on netlify I got the following errors. I must have done something wrong…I am new to all of this and would greatly appreciate any help. Thank you!
1:27:00 PM: Build ready to start 1:27:02 PM: build-image version: 0582042f4fc261adc7bd8333f34884959c577302 1:27:02 PM: build-image tag: v3.7.6 1:27:02 PM: buildbot version: 25525176e9a3fd4732ec80c06d9af2d602b3de9c 1:27:02 PM: Building without cache 1:27:02 PM: Starting to prepare the repo for build 1:27:03 PM: No cached dependencies found. Cloning fresh repo 1:27:03 PM: git clone firstname.lastname@example.org:mxysaj/launchblog 1:27:06 PM: Preparing Git Reference refs/heads/main 1:27:06 PM: Parsing package.json dependencies 1:27:07 PM: Different build dir detected, going to use the one specified in the Netlify configuration file: '' versus '/' in the Netlify UI 1:27:07 PM: Starting build script 1:27:07 PM: Installing dependencies 1:27:07 PM: Python version set to 2.7 1:27:08 PM: v12.18.0 is already installed. 1:27:09 PM: Now using node v12.18.0 (npm v6.14.4) 1:27:09 PM: Started restoring cached build plugins 1:27:09 PM: Finished restoring cached build plugins 1:27:09 PM: Attempting ruby version 2.7.1, read from environment 1:27:11 PM: Using ruby version 2.7.1 1:27:11 PM: Using PHP version 5.6 1:27:11 PM: Started restoring cached node modules 1:27:11 PM: Finished restoring cached node modules 1:27:11 PM: Installing NPM modules using NPM version 6.14.4 1:27:31 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! 1:27:31 PM: > email@example.com postinstall /opt/build/repo 1:27:31 PM: > lerna bootstrap 1:27:31 PM: lerna notice cli v3.22.1 1:27:31 PM: lerna info ci enabled 1:27:31 PM: lerna info Bootstrapping 2 packages 1:27:31 PM: lerna info Installing external dependencies 1:27:32 PM: lerna ERR! npm ci exited 1 in 'blog-with-gatsby-studio' 1:27:32 PM: lerna ERR! npm ci stderr: 1:27:32 PM: npm ERR! cipm can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with `npm install` before continuing. 1:27:32 PM: npm ERR! 1:27:32 PM: npm ERR! 1:27:32 PM: npm ERR! Missing: @sanity/code-input@^2.9.0 1:27:32 PM: npm ERR! 1:27:32 PM: npm ERR! A complete log of this run can be found in: 1:27:32 PM: npm ERR! /opt/buildhome/.npm/_logs/2021-06-15T09_27_32_785Z-debug.log 1:27:32 PM: lerna ERR! npm ci exited 1 in 'blog-with-gatsby-studio' 1:27:32 PM: lerna WARN complete Waiting for 1 child process to exit. CTRL-C to exit immediately. 1:27:32 PM: npm ERR! code ELIFECYCLE 1:27:32 PM: npm ERR! errno 1 1:27:32 PM: npm ERR! firstname.lastname@example.org postinstall: `lerna bootstrap` 1:27:32 PM: npm ERR! Exit status 1 1:27:32 PM: npm ERR! 1:27:32 PM: npm ERR! Failed at the email@example.com postinstall script. 1:27:32 PM: npm ERR! This is probably not a problem with npm. There is likely additional logging output above. 1:27:32 PM: npm ERR! A complete log of this run can be found in: 1:27:32 PM: npm ERR! /opt/buildhome/.npm/_logs/2021-06-15T09_27_32_903Z-debug.log 1:27:32 PM: Error during NPM install 1:27:32 PM: Build was terminated: Build script returned non-zero exit code: 1 1:27:32 PM: Creating deploy upload records 1:27:33 PM: Failing build: Failed to build site 1:27:33 PM: Failed during stage 'building site': Build script returned non-zero exit code: 1 1:27:33 PM: Finished processing build request in 30.878369855s