12:25:00 PM: Build ready to start
12:25:30 PM: build-image version: d7b3dbfb0846505993c9a131894d1858074c90b4 (focal)
12:25:30 PM: build-image tag: v4.10.1
12:25:30 PM: buildbot version: fe73f8149ecfb48a56018180267e65cf6d92c423
12:25:30 PM: Building without cache
12:25:30 PM: Starting to prepare the repo for build
12:25:30 PM: No cached dependencies found. Cloning fresh repo
12:25:30 PM: git clone https://github.com/mahmudulhaquequdrati/react-fiverr-sass-admin-panel
12:25:31 PM: Preparing Git Reference refs/heads/main
12:25:32 PM: Parsing package.json dependencies
12:25:33 PM: Starting build script
12:25:33 PM: Installing dependencies
12:25:33 PM: Python version set to 2.7
12:25:33 PM: Downloading and installing node v16.15.0…
12:25:33 PM: Downloading https://nodejs.org/dist/v16.15.0/node-v16.15.0-linux-x64.tar.xz…
12:25:34 PM: Computing checksum with sha256sum
12:25:34 PM: Checksums matched!
12:25:35 PM: Now using node v16.15.0 (npm v8.5.5)
12:25:36 PM: Started restoring cached build plugins
12:25:36 PM: Finished restoring cached build plugins
12:25:36 PM: Attempting ruby version 2.7.2, read from environment
12:25:36 PM: Using ruby version 2.7.2
12:25:36 PM: Using PHP version 8.0
12:25:37 PM: No npm workspaces detected
12:25:37 PM: Started restoring cached node modules
12:25:37 PM: Finished restoring cached node modules
12:25:37 PM: Installing NPM modules using NPM version 8.5.5
12:25:40 PM: npm ERR! code ERESOLVE
12:25:40 PM: npm ERR! ERESOLVE unable to resolve dependency tree
12:25:40 PM: npm ERR!
12:25:40 PM: Creating deploy upload records
12:25:40 PM: npm ERR! While resolving: saas-velzon-react@0.1.0
12:25:40 PM: npm ERR! Found: react@18.2.0
12:25:40 PM: npm ERR! node_modules/react
12:25:40 PM: npm ERR! react@“^18.1.0” from the root project
12:25:40 PM: npm ERR!
12:25:40 PM: Failed during stage ‘building site’: Build script returned non-zero exit code: 1
12:25:40 PM: npm ERR! Could not resolve dependency:
12:25:40 PM: npm ERR! peer react@“^16.8.0 || ^17.0.0” from @lourenci/react-kanban@2.1.0
12:25:40 PM: npm ERR! node_modules/@lourenci/react-kanban
12:25:40 PM: npm ERR! @lourenci/react-kanban@“^2.1.0” from the root project
12:25:40 PM: npm ERR!
12:25:40 PM: npm ERR! Fix the upstream dependency conflict, or retry
12:25:40 PM: npm ERR! this command with --force, or --legacy-peer-deps
12:25:40 PM: npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
12:25:40 PM: npm ERR!
12:25:40 PM: npm ERR! See /opt/buildhome/.npm/eresolve-report.txt for a full report.
12:25:40 PM: npm ERR! A complete log of this run can be found in:
12:25:40 PM: npm ERR! /opt/buildhome/.npm/_logs/2022-08-12T06_25_37_949Z-debug-0.log
12:25:40 PM: Error during NPM install
12:25:40 PM: Build was terminated: Build script returned non-zero exit code: 1
12:25:40 PM: Failing build: Failed to build site
12:25:40 PM: Finished processing build request in 10.157270675s
what could be the solution
Environment variables
CI=false
NODE_VERSION=16.15.0
NPM_VERSION=8.5.5