Failed during stage "install dependencies"

I use auto deploy from github with the URL : “https://silver-snickerdoodle-b5cbc5.netlify.app/

since yesterday the deployment failed during stage “install depencies”
the log shows following:

8:52:12 PM: npm WARN react-reconciler@“^0.20.4” from react-zdog@1.0.11
8:52:12 PM: npm WARN node_modules/react-zdog
8:52:13 PM: npm ERR! code E404
8:52:13 PM: npm ERR! 404 Not Found - GET https://registry.npmjs.org/babel-preset-active-node-syntax/-/babel-preset-active-node-syntax-1.0.1.tgz - Not found
8:52:13 PM: npm ERR! 404
8:52:13 PM: npm ERR! 404 ‘babel-preset-active-node-syntax@https://registry.npmjs.org/babel-preset-active-node-syntax/-/babel-preset-active-node-syntax-1.0.1.tgz’ is not in this registry.
8:52:13 PM: Failed during stage ‘Install dependencies’: dependency_installation script returned non-zero exit code: 1
8:52:13 PM: npm ERR! 404
8:52:13 PM: npm ERR! 404 Note that you can also install from a
8:52:13 PM: npm ERR! 404 tarball, folder, http url, or git url.
8:52:13 PM: npm ERR! A complete log of this run can be found in:
8:52:13 PM: npm ERR! /opt/buildhome/.npm/_logs/2023-06-02T18_52_10_286Z-debug-0.log
8:52:13 PM: Error during npm install
8:52:13 PM: Build was terminated: dependency_installation script returned non-zero exit code: 1
8:52:13 PM: Failing build: Failed to install dependencies

I have no idea what to do here to make it work again.

images of the error:

@SeriKing Please supply the entire build log.

It’s easy to verify that babel-preset-active-node-syntax doesn’t exist in the public npm registry.

So the question becomes, what is trying to install it?

This is the entire deploy log :
8:51:57 PM: build-image version: a66d98133c6610c76fed63f8e57709f519467750 (focal)

8:51:57 PM: buildbot version: a66d98133c6610c76fed63f8e57709f519467750

8:51:58 PM: Fetching cached dependencies

8:51:58 PM: Starting to download cache of 188.8MB

8:52:00 PM: Finished downloading cache in 2.435s

8:52:00 PM: Starting to extract cache

8:52:02 PM: Finished extracting cache in 2.424s

8:52:03 PM: Finished fetching cache in 4.912s

8:52:03 PM: Starting to prepare the repo for build

8:52:03 PM: Preparing Git Reference refs/heads/master

8:52:05 PM: Starting to install dependencies

8:52:05 PM: Python version set to 3.8

8:52:05 PM: Attempting Ruby version 2.7.2, read from environment

8:52:06 PM: Using Ruby version 2.7.2

8:52:07 PM: Started restoring cached go cache

8:52:07 PM: Finished restoring cached go cache

8:52:07 PM: go version go1.19.9 linux/amd64

8:52:07 PM: Using PHP version 8.0

8:52:08 PM: Started restoring cached Node.js version

8:52:09 PM: Finished restoring cached Node.js version

8:52:09 PM: v16.20.0 is already installed.

8:52:09 PM: Now using node v16.20.0 (npm v8.19.4)

8:52:09 PM: Enabling Node.js Corepack

8:52:09 PM: Started restoring cached build plugins

8:52:09 PM: Finished restoring cached build plugins

8:52:09 PM: Started restoring cached corepack dependencies

8:52:09 PM: Finished restoring cached corepack dependencies

8:52:09 PM: No npm workspaces detected

8:52:09 PM: Started restoring cached node modules

8:52:09 PM: Finished restoring cached node modules

8:52:10 PM: Installing npm packages using npm version 8.19.4

8:52:12 PM: npm WARN ERESOLVE overriding peer dependency

8:52:12 PM: npm WARN While resolving: react-reconciler@0.20.4

8:52:12 PM: npm WARN Found: react@18.2.0

8:52:12 PM: npm WARN node_modules/react

8:52:12 PM: npm WARN react@“^18.2.0” from the root project

8:52:12 PM: npm WARN 28 more (@icons/material, @react-spring/animated, …)

8:52:12 PM: npm WARN

8:52:12 PM: npm WARN Could not resolve dependency:

8:52:12 PM: npm WARN peer react@“^16.0.0” from react-reconciler@0.20.4

8:52:12 PM: npm WARN node_modules/react-zdog/node_modules/react-reconciler

8:52:12 PM: npm WARN react-reconciler@“^0.20.4” from react-zdog@1.0.11

8:52:12 PM: npm WARN node_modules/react-zdog

8:52:12 PM: npm WARN

8:52:12 PM: npm WARN Conflicting peer dependency: react@16.14.0

8:52:12 PM: npm WARN node_modules/react

8:52:12 PM: npm WARN peer react@“^16.0.0” from react-reconciler@0.20.4

8:52:12 PM: npm WARN node_modules/react-zdog/node_modules/react-reconciler

8:52:12 PM: npm WARN react-reconciler@“^0.20.4” from react-zdog@1.0.11

8:52:12 PM: npm WARN node_modules/react-zdog

8:52:13 PM: npm ERR! code E404

8:52:13 PM: npm ERR! 404 Not Found - GET https://registry.npmjs.org/babel-preset-active-node-syntax/-/babel-preset-active-node-syntax-1.0.1.tgz - Not found

8:52:13 PM: npm ERR! 404

8:52:13 PM: npm ERR! 404 ‘babel-preset-active-node-syntax@https://registry.npmjs.org/babel-preset-active-node-syntax/-/babel-preset-active-node-syntax-1.0.1.tgz’ is not in this registry.

8:52:13 PM: Failed during stage ‘Install dependencies’: dependency_installation script returned non-zero exit code: 1

8:52:13 PM: npm ERR! 404

8:52:13 PM: npm ERR! 404 Note that you can also install from a

8:52:13 PM: npm ERR! 404 tarball, folder, http url, or git url.

8:52:13 PM: npm ERR! A complete log of this run can be found in:

8:52:13 PM: npm ERR! /opt/buildhome/.npm/_logs/2023-06-02T18_52_10_286Z-debug-0.log

8:52:13 PM: Error during npm install

8:52:13 PM: Build was terminated: dependency_installation script returned non-zero exit code: 1

8:52:13 PM: Failing build: Failed to install dependencies

DId you ask for that or is there a different “Build” Log. If so where can I find the Build log.
I did “npm uninstall babel-preset-active-node-syntax” that did not do anything. deploy still fails at that stage

As mentioned by @nathanmartin , the issue is

the provided package doesn’t exist on npm. Does this work locally? Try deleting node_modules and installing them again.

@hrishikesh Thank you so much broh, Its worked. :innocent:

glad to hear it! thanks for chiming it. (: