Npm ERR! notarget No matching version found for @types/react-reconciler@^0.29.0

I’ve been having a huge time failing building my first app here.

I’ve got to this point, though it’s always seemed to do with react-reconciler, which isn’t even used.

I have no way of finding where:
2:43:07 PM: npm ERR! notarget In most cases you or one of your dependencies are requesting 2:43:07 PM: npm ERR! notarget a package version that doesn’t exist.

This package could be…

Site name: what-film.netlify.app

2:43:01 PM: build-image version: b99b04bce77f7c739cbd5eebb242ff3ddb54ba7b (focal)
2:43:01 PM: buildbot version: b99b04bce77f7c739cbd5eebb242ff3ddb54ba7b
2:43:01 PM: Fetching cached dependencies
2:43:01 PM: Failed to fetch cache, continuing with build
2:43:01 PM: Starting to prepare the repo for build
2:43:01 PM: No cached dependencies found. Cloning fresh repo
2:43:01 PM: git clone --filter=blob:none https://github.com/joshzee/WhatFilm
2:43:01 PM: Preparing Git Reference refs/heads/main
2:43:02 PM: Parsing package.json dependencies
2:43:03 PM: Starting to install dependencies
2:43:04 PM: v16.19.1 is already installed.
2:43:04 PM: Now using node v16.19.1 (npm v8.19.3)
2:43:04 PM: Enabling Node.js Corepack
2:43:04 PM: Started restoring cached build plugins
2:43:04 PM: Finished restoring cached build plugins
2:43:04 PM: Started restoring cached corepack dependencies
2:43:04 PM: Finished restoring cached corepack dependencies
2:43:04 PM: No npm workspaces detected
2:43:04 PM: Started restoring cached node modules
2:43:04 PM: Finished restoring cached node modules
2:43:05 PM: Installing npm packages using npm version 8.19.3
2:43:07 PM: npm WARN ERESOLVE overriding peer dependency
2:43:07 PM: npm ERR! code ETARGET
2:43:07 PM: npm ERR! notarget No matching version found for @types/react-reconciler@^0.29.0.
2:43:07 PM: npm ERR! notarget In most cases you or one of your dependencies are requesting
2:43:07 PM: npm ERR! notarget a package version that doesn’t exist.
2:43:07 PM: npm ERR! A complete log of this run can be found in:
2:43:07 PM: Failed during stage ‘Install dependencies’: dependency_installation script returned non-zero exit code: 1
2:43:07 PM: npm ERR! /opt/buildhome/.npm/_logs/2023-03-29T03_43_05_333Z-debug-0.log
2:43:07 PM: Error during npm install
2:43:07 PM: Build was terminated: dependency_installation script returned non-zero exit code: 1
2:43:07 PM: Failing build: Failed to install dependencies
2:43:07 PM: Finished processing build request in 6.542s

Any help would be greatly appreciated! My GitHub is public.
So much Googling in 2 days haha.

Thank you community.

@joshzee When you say the react-reconciler isn’t even used, it is in your dependencies…

image

The actual issue relates to @types/react-reconciler which I see referenced in your package-lock.json.

If you check that package at npm, you’ll see it doesn’t have a version 0.29.0

Hi @nathanmartin,

Thank you so much for the reply.

I don’t even use it, that’s the thing…

Sorry, about the last part, what file is it showing it doesn’t have a version?

Thank you kindly again

Oh I see, at the npm registry 0.29.0 is not even there…

@nathanmartin Seeing as I don’t use it, what’s my best course of action?

Should I update my package-lock.json to the latest version of it…?

@joshzee If you really aren’t using it, you could remove it from your dependencies.