Deployment failed

Hi

I failed to deploy an application from my GitHub Page. It is very simple demo app. Below is the error message from build log

Any help would be appreciated

12:59:49 PM: Build ready to start

12:59:51 PM: build-image version: b0258b965567defc4a2d7e2f2dec2e00c8f73ad6

12:59:51 PM: build-image tag: v3.4.1

12:59:51 PM: buildbot version: 4c73738fafb40608518be6837f4675455e8cfe64

12:59:51 PM: Fetching cached dependencies

12:59:51 PM: Starting to download cache of 254.8KB

12:59:51 PM: Finished downloading cache in 76.711357ms

12:59:51 PM: Starting to extract cache

12:59:51 PM: Failed to fetch cache, continuing with build

12:59:51 PM: Starting to prepare the repo for build

12:59:51 PM: No cached dependencies found. Cloning fresh repo

12:59:51 PM: git clone https://github.com/salmanwaseem007/yt-search-1

12:59:52 PM: Preparing Git Reference refs/heads/master

12:59:53 PM: Different publish path detected, going to use the one specified in the Netlify configuration file: ‘build’ versus ‘build/’ in the Netlify UI

12:59:53 PM: Starting build script

12:59:53 PM: Installing dependencies

12:59:53 PM: Python version set to 2.7

12:59:55 PM: v12.18.0 is already installed.

12:59:56 PM: Now using node v12.18.0 (npm v6.14.4)

12:59:56 PM: Started restoring cached build plugins

12:59:56 PM: Finished restoring cached build plugins

12:59:56 PM: Attempting ruby version 2.7.1, read from environment

12:59:57 PM: Using ruby version 2.7.1

12:59:58 PM: Using PHP version 5.6

12:59:58 PM: 5.2 is already installed.

12:59:58 PM: Using Swift version 5.2

12:59:58 PM: Started restoring cached node modules

12:59:58 PM: Finished restoring cached node modules

12:59:58 PM: Installing NPM modules using NPM version 6.14.4

1:00:33 PM: npm ERR! code E404

1:00:33 PM: npm ERR! 404 Not Found - GET https://registry.npmjs.org/@jest/core/-/core-24.9.0.tgz

1:00:33 PM: npm ERR! 404

1:00:33 PM: npm ERR! 404 ‘@jest/core@24.9.0’ is not in the npm registry.

1:00:33 PM: npm ERR! 404 You should bug the author to publish it (or use the name yourself!)

1:00:33 PM: npm ERR! 404 It was specified as a dependency of ‘repo’

1:00:33 PM: npm ERR! 404

1:00:33 PM: npm ERR! 404 Note that you can also install from a

1:00:33 PM: npm ERR! 404 tarball, folder, http url, or git url.

1:00:33 PM: npm ERR! A complete log of this run can be found in:

1:00:33 PM: npm ERR! /opt/buildhome/.npm/_logs/2020-08-06T09_00_33_685Z-debug.log

1:00:33 PM: Error during NPM install

1:00:33 PM: Error running command: Build script returned non-zero exit code: 1

1:00:33 PM: Failing build: Failed to build site

1:00:33 PM: Failed during stage ‘building site’: Build script returned non-zero exit code: 1

1:00:33 PM: Finished processing build request in 42.474942371s

hi there, this is failing because npm is unable to download the package you are needing for your project.

When errors like this one occur, its always a great idea to check that npm isn’t having any problems, which, coincidentally, it was yesterday:

https://status.npmjs.org/

I think it is safe to say this isn’t a netlify issue - will you try again and see if it works?

i retried and it works now. Thanks