Failing build: Failed to install dependencies

website: https://hotelholidaysuite.netlify.app/

I have tried many things, but none worked, maybe its because im just a begginer. Here is the log hope you can help:

12:08:38 PM: build-image version: 3ffff9df3d5419545acc1b673a54de348174406d (focal)
12:08:38 PM: buildbot version: 06bd328e5eb3b6956f9c6602486ecccce8b861a0
12:08:38 PM: Fetching cached dependencies
12:08:38 PM: Starting to download cache of 120.3MB
12:08:40 PM: Finished downloading cache in 1.871s
12:08:40 PM: Starting to extract cache
12:08:41 PM: Finished extracting cache in 1.046s
12:08:41 PM: Finished fetching cache in 2.969s
12:08:41 PM: Starting to prepare the repo for build
12:08:41 PM: Preparing Git Reference refs/heads/master
12:08:46 PM: Starting to install dependencies
12:08:46 PM: Python version set to 3.8
12:08:46 PM: Attempting Ruby version 2.7.2, read from environment
12:08:46 PM: Using Ruby version 2.7.2
12:08:47 PM: Started restoring cached go cache
12:08:47 PM: Finished restoring cached go cache
12:08:48 PM: go version go1.19.13 linux/amd64
12:08:48 PM: Using PHP version 8.0
12:08:49 PM: Started restoring cached Node.js version
12:08:50 PM: Finished restoring cached Node.js version
12:08:50 PM: v18.19.0 is already installed.
12:08:51 PM: Now using node v18.19.0 (npm v10.2.3)
12:08:51 PM: Enabling Node.js Corepack
12:08:51 PM: Started restoring cached build plugins
12:08:51 PM: Finished restoring cached build plugins
12:08:51 PM: Started restoring cached corepack dependencies
12:08:51 PM: Finished restoring cached corepack dependencies
12:08:51 PM: Started restoring cached yarn cache
12:08:51 PM: Finished restoring cached yarn cache
12:08:52 PM: Installing Yarn version 1.22.19
12:08:52 PM: Preparing yarn@1.22.19 for immediate activation…
12:08:52 PM: No yarn workspaces detected
12:08:52 PM: Started restoring cached node modules
12:08:52 PM: Finished restoring cached node modules
12:08:52 PM: Installing npm packages using Yarn version 4.0.1
12:08:53 PM: ➤ YN0000: · Yarn 4.0.1
12:08:53 PM: ➤ YN0000: ┌ Resolution step
12:08:57 PM: Failed during stage “Install dependencies”: dependency_installation script returned non-zero exit code: 1
12:08:57 PM: ➤ YN0085: │ + @mantine/carousel@npm:7.3.1, @mantine/core@npm:7.3.1, @mantine/dates@npm:7.3.1, @mantine/hooks@npm:7.3.1, @tabler/icons-react@npm:2.44.0, and 343 more.
12:08:57 PM: ➤ YN0000: └ Completed in 4s 81ms
12:08:57 PM: ➤ YN0000: ┌ Post-resolution validation
12:08:57 PM: ➤ YN0028: │ The lockfile would have been modified by this install, which is explicitly forbidden.
12:08:57 PM: ➤ YN0000: └ Completed
12:08:57 PM: ➤ YN0000: · Failed with errors in 4s 130ms
12:08:57 PM: Error during Yarn install
12:08:57 PM: Failing build: Failed to install dependencies
12:08:58 PM: Finished processing build request in 19.683s

What site is this in reference to?

this one https://hotelholidaysuite.netlify.app/

Hi @Cattivellio,

Thanks for the follow-up. I do see errors here in your deploy log:

small example:

6:39:18 AM: src/components/CarouselBg.tsx(1,17): error TS6133: "Flex" is declared but its value is never read.

6:39:18 AM: src/components/CarouselBg.tsx(1,23): error TS6133: "Group" is declared but its value is never read.

6:39:18 AM: src/components/CarouselBg.tsx(1,30): error TS6133: "AppShell" is declared but its value is never read.

6:39:18 AM: src/components/CarouselBg.tsx(1,40): error TS6133: "Title" is declared but its value is never read.

The errors show that some variables were declared but they are not being used. If you resolve those errors in your code does the build continue to fail?