Hi, I am receiving the following error and donβt know how to fix it:
1:33:50 PM: Build ready to start
1:33:53 PM: build-image version: 0e2f4c52031ab562db66aec633308326e3b108d0 (focal)
1:33:53 PM: build-image tag: focal
1:33:53 PM: buildbot version: ed990b4b6588208e959ba45b6b7b05738f8b6004
1:33:53 PM: Fetching cached dependencies
1:33:53 PM: Failed to fetch cache, continuing with build
1:33:53 PM: Starting to prepare the repo for build
1:33:53 PM: No cached dependencies found. Cloning fresh repo
1:33:53 PM: git clone https://github.com/michaelmannucci/mannucci
1:33:54 PM: Preparing Git Reference refs/heads/main
1:33:55 PM: Parsing package.json dependencies
1:33:56 PM: Starting build script
1:33:56 PM: Installing dependencies
1:33:56 PM: Python version set to 2.7
1:33:56 PM: Downloading and installing node v16.16.0...
1:33:57 PM: Downloading https://nodejs.org/dist/v16.16.0/node-v16.16.0-linux-x64.tar.xz...
1:33:57 PM: Computing checksum with sha256sum
1:33:57 PM: Checksums matched!
1:34:00 PM: Now using node v16.16.0 (npm v8.11.0)
1:34:00 PM: Started restoring cached build plugins
1:34:00 PM: Finished restoring cached build plugins
1:34:00 PM: Attempting ruby version 2.7.2, read from environment
1:34:01 PM: Using ruby version 2.7.2
1:34:01 PM: Using PHP version 8.0
1:34:02 PM: No npm workspaces detected
1:34:02 PM: Started restoring cached node modules
1:34:02 PM: Finished restoring cached node modules
1:34:02 PM: Installing NPM modules using NPM version 8.11.0
1:34:02 PM: npm WARN config tmp This setting is no longer used. npm stores temporary files in a special
1:34:02 PM: npm WARN config location in the cache, and they are managed by
1:34:02 PM: npm WARN config [`cacache`](http://npm.im/cacache).
1:34:03 PM: npm WARN config tmp This setting is no longer used. npm stores temporary files in a special
1:34:03 PM: npm WARN config location in the cache, and they are managed by
1:34:03 PM: npm WARN config [`cacache`](http://npm.im/cacache).
1:34:09 PM: npm WARN deprecated stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
1:34:10 PM: npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
1:34:17 PM: added 765 packages, and audited 766 packages in 14s
1:34:17 PM: 78 packages are looking for funding
1:34:17 PM: run `npm fund` for details
1:34:17 PM: found 0 vulnerabilities
1:34:17 PM: NPM modules installed
1:34:18 PM: npm WARN config tmp This setting is no longer used. npm stores temporary files in a special
1:34:18 PM: npm WARN config location in the cache, and they are managed by
1:34:18 PM: npm WARN config [`cacache`](http://npm.im/cacache).
1:34:18 PM: Started restoring cached composer dependencies
1:34:18 PM: Finished restoring cached composer dependencies
1:34:18 PM: Installing dependencies from lock file (including require-dev)
1:34:18 PM: Verifying lock file contents can be installed on current platform.
1:34:18 PM: Your lock file does not contain a compatible set of packages. Please run composer update.
1:34:18 PM: Problem 1
1:34:18 PM: - symfony/console is locked to version v6.1.1 and an update of this package was not requested.
1:34:18 PM: - symfony/console v6.1.1 requires php >=8.1 -> your php version (8.0.20) does not satisfy that requirement.
1:34:18 PM: Problem 2
1:34:18 PM: - symfony/css-selector is locked to version v6.1.0 and an update of this package was not requested.
1:34:18 PM: - symfony/css-selector v6.1.0 requires php >=8.1 -> your php version (8.0.20) does not satisfy that requirement.
1:34:18 PM: Problem 3
1:34:18 PM: - symfony/deprecation-contracts is locked to version v3.1.0 and an update of this package was not requested.
1:34:18 PM: - symfony/deprecation-contracts v3.1.0 requires php >=8.1 -> your php version (8.0.20) does not satisfy that requirement.
1:34:18 PM: Problem 4
1:34:18 PM: - symfony/error-handler is locked to version v6.1.0 and an update of this package was not requested.
1:34:18 PM: - symfony/error-handler v6.1.0 requires php >=8.1 -> your php version (8.0.20) does not satisfy that requirement.
1:34:18 PM: Problem 5
1:34:18 PM: - symfony/event-dispatcher is locked to version v6.1.0 and an update of this package was not requested.
1:34:18 PM: - symfony/event-dispatcher v6.1.0 requires php >=8.1 -> your php version (8.0.20) does not satisfy that requirement.
1:34:18 PM: Problem 6
1:34:18 PM: - symfony/event-dispatcher-contracts is locked to version v3.1.0 and an update of this package was not requested.
1:34:18 PM: - symfony/event-dispatcher-contracts v3.1.0 requires php >=8.1 -> your php version (8.0.20) does not satisfy that requirement.
1:34:18 PM: Problem 7
1:34:18 PM: - symfony/filesystem is locked to version v6.1.0 and an update of this package was not requested.
1:34:18 PM: - symfony/filesystem v6.1.0 requires php >=8.1 -> your php version (8.0.20) does not satisfy that requirement.
1:34:18 PM: Problem 8
1:34:18 PM: - symfony/finder is locked to version v6.1.0 and an update of this package was not requested.
1:34:18 PM: - symfony/finder v6.1.0 requires php >=8.1 -> your php version (8.0.20) does not satisfy that requirement.
1:34:18 PM: Problem 9
1:34:18 PM: - symfony/http-foundation is locked to version v6.1.1 and an update of this package was not requested.
1:34:18 PM: - symfony/http-foundation v6.1.1 requires php >=8.1 -> your php version (8.0.20) does not satisfy that requirement.
1:34:18 PM: Problem 10
1:34:18 PM: - symfony/http-kernel is locked to version v6.1.1 and an update of this package was not requested.
1:34:18 PM: - symfony/http-kernel v6.1.1 requires php >=8.1 -> your php version (8.0.20) does not satisfy that requirement.
1:34:18 PM: Problem 11
1:34:18 PM: - symfony/mailer is locked to version v6.1.1 and an update of this package was not requested.
1:34:18 PM: - symfony/mailer v6.1.1 requires php >=8.1 -> your php version (8.0.20) does not satisfy that requirement.
1:34:18 PM: Problem 12
1:34:18 PM: - symfony/mime is locked to version v6.1.1 and an update of this package was not requested.
1:34:18 PM: - symfony/mime v6.1.1 requires php >=8.1 -> your php version (8.0.20) does not satisfy that requirement.
1:34:18 PM: Problem 13
1:34:18 PM: - symfony/process is locked to version v6.1.0 and an update of this package was not requested.
1:34:18 PM: - symfony/process v6.1.0 requires php >=8.1 -> your php version (8.0.20) does not satisfy that requirement.
1:34:18 PM: Problem 14
1:34:18 PM: - symfony/routing is locked to version v6.1.1 and an update of this package was not requested.
1:34:18 PM: - symfony/routing v6.1.1 requires php >=8.1 -> your php version (8.0.20) does not satisfy that requirement.
1:34:18 PM: Problem 15
1:34:18 PM: - symfony/service-contracts is locked to version v3.1.0 and an update of this package was not requested.
1:34:18 PM: - symfony/service-contracts v3.1.0 requires php >=8.1 -> your php version (8.0.20) does not satisfy that requirement.
1:34:18 PM: Problem 16
1:34:18 PM: - symfony/string is locked to version v6.1.0 and an update of this package was not requested.
1:34:18 PM: - symfony/string v6.1.0 requires php >=8.1 -> your php version (8.0.20) does not satisfy that requirement.
1:34:18 PM: Problem 17
1:34:18 PM: - symfony/translation is locked to version v6.1.0 and an update of this package was not requested.
1:34:18 PM: - symfony/translation v6.1.0 requires php >=8.1 -> your php version (8.0.20) does not satisfy that requirement.
1:34:18 PM: Problem 18
1:34:18 PM: - symfony/translation-contracts is locked to version v3.1.0 and an update of this package was not requested.
1:34:18 PM: - symfony/translation-contracts v3.1.0 requires php >=8.1 -> your php version (8.0.20) does not satisfy that requirement.
1:34:18 PM: Problem 19
1:34:18 PM: - symfony/var-dumper is locked to version v6.1.0 and an update of this package was not requested.
1:34:18 PM: - symfony/var-dumper v6.1.0 requires php >=8.1 -> your php version (8.0.20) does not satisfy that requirement.
1:34:18 PM: Problem 20
1:34:18 PM: - symfony/yaml is locked to version v6.1.0 and an update of this package was not requested.
1:34:18 PM: - symfony/yaml v6.1.0 requires php >=8.1 -> your php version (8.0.20) does not satisfy that requirement.
1:34:18 PM: Problem 21
1:34:18 PM: - symfony/http-foundation v6.1.1 requires php >=8.1 -> your php version (8.0.20) does not satisfy that requirement.
1:34:18 PM: - spatie/flare-client-php 1.2.0 requires symfony/http-foundation ^5.0|^6.0 -> satisfiable by symfony/http-foundation[v6.1.1].
1:34:18 PM: - spatie/flare-client-php is locked to version 1.2.0 and an update of this package was not requested.
1:34:18 PM: Started restoring cached go cache
1:34:18 PM: Finished restoring cached go cache
1:34:18 PM: Installing Go version 1.17 (requested 1.17)
1:34:25 PM: unset GOOS;
1:34:25 PM: unset GOARCH;
1:34:25 PM: export GOROOT='/opt/buildhome/.gimme/versions/go1.17.linux.amd64';
1:34:25 PM: export PATH="/opt/buildhome/.gimme/versions/go1.17.linux.amd64/bin:${PATH}";
1:34:25 PM: go version >&2;
1:34:25 PM: export GIMME_ENV="/opt/buildhome/.gimme/env/go1.17.linux.amd64.env"
1:34:25 PM: go version go1.17 linux/amd64
1:34:25 PM: Installing missing commands
1:34:25 PM: Verify run directory
1:34:26 PM: β
1:34:26 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
1:34:26 PM: Netlify Build
1:34:26 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
1:34:26 PM: β
1:34:26 PM: β― Version
1:34:26 PM: @netlify/build 27.3.3
1:34:26 PM: β
1:34:26 PM: β― Flags
1:34:26 PM: baseRelDir: true
1:34:26 PM: buildId: 62c86a7ef77cbd4e492cd024
1:34:26 PM: deployId: 62c86a7ef77cbd4e492cd026
1:34:26 PM: β
1:34:26 PM: β― Current directory
1:34:26 PM: /opt/build/repo
1:34:26 PM: β
1:34:26 PM: β― Config file
1:34:26 PM: No config file was defined: using default values.
1:34:26 PM: β
1:34:26 PM: β― Context
1:34:26 PM: production
1:34:26 PM: β
1:34:26 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
1:34:26 PM: 1. Build command from Netlify app
1:34:26 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
1:34:26 PM: β
1:34:26 PM: $ npm run production && php please ssg:generate && php artisan config:cache
1:34:27 PM: npm WARN config tmp This setting is no longer used. npm stores temporary files in a special
1:34:27 PM: npm WARN config location in the cache, and they are managed by
1:34:27 PM: npm WARN config [`cacache`](http://npm.im/cacache).
1:34:27 PM: > production
1:34:27 PM: > mix --production
1:34:29 PM: [info] [webpackbar] Compiling Mix
1:34:35 PM:
1:34:35 PM:
1:34:35 PM: Laravel Mix v6.0.49
1:34:35 PM:
1:34:35 PM: β Compiled Successfully in 5891ms
1:34:35 PM: βββββββββββββββββββββββββββββββββββββ¬βββββββββββ
1:34:35 PM: β File β Size β
1:34:35 PM: βββββββββββββββββββββββββββββββββββββΌβββββββββββ€
1:34:35 PM: β /js/site.js β 275 KiB β
1:34:35 PM: β css/tailwind.css β 17.9 KiB β
1:34:35 PM: β β¦27903fb104344e25e3e114d977 β 12.4 KiB β
1:34:35 PM: β β¦cc58d061f418426300d0884db8 β 55.4 KiB β
1:34:35 PM: β β¦efecb44cf476d95c8a2d123bde β 21.5 KiB β
1:34:35 PM: β β¦2128c7301005dd159d23565838 β 11.1 KiB β
1:34:35 PM: β β¦93bbcd3b9013cac5bd1b9fc94c β 14.1 KiB β
1:34:35 PM: β β¦08d0ca882ba6c6f2adce8df249 β 12.6 KiB β
1:34:35 PM: β β¦d81614ccb2245d8dfb81c345ce β 56.6 KiB β
1:34:35 PM: β β¦ec8428f9a17964fed5d437cc42 β 21.5 KiB β
1:34:35 PM: β β¦77183cec1af8a7ba8d7d182290 β 11.3 KiB β
1:34:35 PM: β β¦f773fe5bad294e1c02b3fa61a1 β 14.7 KiB β
1:34:35 PM: β β¦58f4c046a11c4aa5920c4bef97 β 12.3 KiB β
1:34:35 PM: β β¦a39624c4a3f4ca3e461903666c β 55.2 KiB β
1:34:35 PM: β β¦2bac477757d540ad57ff9a5736 β 21.5 KiB β
1:34:35 PM: β β¦472b2ea17ac01bca2e847148e2 β 11 KiB β
1:34:35 PM: β β¦c4e596ce7e2fdfd90d5a5c464a β 14 KiB β
1:34:35 PM: β β¦4601ecdcaf5c4d1411ef177e8b β 8.32 KiB β
1:34:35 PM: β β¦7f589ee957de532e8cb887d209 β 50.4 KiB β
1:34:35 PM: β β¦64e54ecb0c5b5b7711c7d63621 β 15.4 KiB β
1:34:35 PM: β β¦fe776dae29ea783f62ebc3225d β 7.63 KiB β
1:34:35 PM: β β¦658bf21b37083d96210f4cbc51 β 10.2 KiB β
1:34:35 PM: β β¦a36ed539d2b33fd173543dede4 β 8.43 KiB β
1:34:35 PM: β β¦799cb3f1b29dfad816139bad03 β 51.6 KiB β
1:34:35 PM: β β¦0880373b223d9caeedc1cae11c β 15.8 KiB β
1:34:35 PM: β β¦dd680fa1dcdfa2b35019b3849f β 7.7 KiB β
1:34:35 PM: β β¦da33b59324fbefe468ce6917ab β 10.3 KiB β
1:34:35 PM: βββββββββββββββββββββββββββββββββββββ΄βββββββββββ
1:34:35 PM: [success] [webpackbar] Mix: Compiled successfully in 6.05s
1:34:35 PM: webpack compiled successfully
1:34:35 PM: PHP Warning: require(/opt/build/repo/vendor/autoload.php): Failed to open stream: No such file or directory in /opt/build/repo/please on line 18
1:34:35 PM: PHP Fatal error: Uncaught Error: Failed opening required '/opt/build/repo/vendor/autoload.php' (include_path='.:/usr/share/php') in /opt/build/repo/please:18
1:34:35 PM: Stack trace:
1:34:35 PM: #0 {main}
1:34:35 PM: thrown in /opt/build/repo/please on line 18
1:34:35 PM: β
1:34:35 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
1:34:35 PM: "build.command" failed
1:34:35 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
1:34:35 PM: β
1:34:35 PM: Error message
1:34:35 PM: Command failed with exit code 255: npm run production && php please ssg:generate && php artisan config:cache
1:34:35 PM: β
1:34:35 PM: Error location
1:34:35 PM: In Build command from Netlify app:
1:34:35 PM: npm run production && php please ssg:generate && php artisan config:cache
1:34:35 PM: β
1:34:35 PM: Resolved config
1:34:35 PM: build:
1:34:35 PM: command: npm run production && php please ssg:generate && php artisan config:cache
1:34:35 PM: commandOrigin: ui
1:34:37 PM: Creating deploy upload records
1:34:35 PM: environment:
1:34:35 PM: - APP_KEY
1:34:35 PM: - APP_NAME
1:34:35 PM: - APP_URL
1:34:35 PM: publish: /opt/build/repo/storage/app/static
1:34:37 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2
1:34:35 PM: publishOrigin: ui
1:34:35 PM: Caching artifacts
1:34:35 PM: Started saving node modules
1:34:35 PM: Finished saving node modules
1:34:35 PM: Started saving build plugins
1:34:35 PM: Finished saving build plugins
1:34:35 PM: Started saving pip cache
1:34:35 PM: Finished saving pip cache
1:34:35 PM: Started saving emacs cask dependencies
1:34:35 PM: Finished saving emacs cask dependencies
1:34:35 PM: Started saving maven dependencies
1:34:35 PM: Finished saving maven dependencies
1:34:35 PM: Started saving boot dependencies
1:34:35 PM: Finished saving boot dependencies
1:34:35 PM: Started saving composer dependencies
1:34:35 PM: Finished saving composer dependencies
1:34:35 PM: Started saving rust rustup cache
1:34:35 PM: Finished saving rust rustup cache
1:34:35 PM: Started saving go dependencies
1:34:35 PM: Finished saving go dependencies
1:34:37 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
1:34:37 PM: Failing build: Failed to build site
1:34:37 PM: Finished processing build request in 44.686003967s
My build settings:
Any help to point me in the right direction is appreciated!