I have been trying to build my project on Cloudflare pages but the build fails all the time for no specific reason. It’s hard to debug without proper reason being thrown at us.
Here are the contents of the log file-:
2023-02-28T08:26:03.453235Z | Cloning repository… |
---|---|
2023-02-28T08:26:04.760828Z | From GitHub - QuickSwap/interface-v2: New front-end interface of quickswap.exchange |
2023-02-28T08:26:04.761626Z | * branch 26e6fe79fc711f20a17889c21f4bc79f8e69f8c6 → FETCH_HEAD |
2023-02-28T08:26:04.761861Z | |
2023-02-28T08:26:05.231693Z | HEAD is now at 26e6fe7 Merge pull request #642 from CodeSnooker/feature/squid-3 |
2023-02-28T08:26:05.232373Z | |
2023-02-28T08:26:05.388765Z | |
2023-02-28T08:26:05.416236Z | Success: Finished cloning repository files |
2023-02-28T08:26:06.186829Z | Installing dependencies |
2023-02-28T08:26:06.198406Z | Python version set to 2.7 |
2023-02-28T08:26:09.651036Z | Downloading and installing node v16.19.1… |
2023-02-28T08:26:10.068056Z | Downloading https://nodejs.org/dist/v16.19.1/node-v16.19.1-linux-x64.tar.xz… |
2023-02-28T08:26:10.514924Z | Computing checksum with sha256sum |
2023-02-28T08:26:10.647738Z | Checksums matched! |
2023-02-28T08:26:15.027903Z | Now using node v16.19.1 (npm v8.19.3) |
2023-02-28T08:26:15.410299Z | Started restoring cached build plugins |
2023-02-28T08:26:15.424047Z | Finished restoring cached build plugins |
2023-02-28T08:26:15.922324Z | Attempting ruby version 2.7.1, read from environment |
2023-02-28T08:26:19.448164Z | Using ruby version 2.7.1 |
2023-02-28T08:26:19.813539Z | Using PHP version 5.6 |
2023-02-28T08:26:19.973673Z | 5.2 is already installed. |
2023-02-28T08:26:19.999381Z | Using Swift version 5.2 |
2023-02-28T08:26:19.999884Z | Started restoring cached node modules |
2023-02-28T08:26:20.016169Z | Finished restoring cached node modules |
2023-02-28T08:26:20.023759Z | Started restoring cached yarn cache |
2023-02-28T08:26:20.037728Z | Finished restoring cached yarn cache |
2023-02-28T08:26:20.060662Z | Installing yarn at version 1.22.19 |
2023-02-28T08:26:20.078452Z | e[37mInstalling Yarn!e[0m |
2023-02-28T08:26:20.078777Z | e[36m> Downloading tarball…e[0m |
2023-02-28T08:26:20.121472Z | |
2023-02-28T08:26:20.121838Z | [1/2]: https://yarnpkg.com/downloads/1.22.19/yarn-v1.22.19.tar.gz → /tmp/yarn.tar.gz.xJGxUXw1K9 |
2023-02-28T08:26:20.122629Z | % Total % Received % Xferd Average Speed Time Time Time Current |
2023-02-28T08:26:20.123012Z | Dload Upload Total Spent Left Speed |
2023-02-28T08:26:20.375195Z | 0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0100 82 100 82 0 0 324 0 --:–:-- --:–:-- --:–:-- 325 |
2023-02-28T08:26:20.591767Z | 0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0100 95 100 95 0 0 202 0 --:–:-- --:–:-- --:–:-- 5000 |
2023-02-28T08:26:20.931571Z | 0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0 |
2023-02-28T08:26:21.425754Z | 100 1215k 100 1215k 0 0 932k 0 0:00:01 0:00:01 --:–:-- 932k |
2023-02-28T08:26:21.426131Z | |
2023-02-28T08:26:21.426344Z | [2/2]: https://yarnpkg.com/downloads/1.22.19/yarn-v1.22.19.tar.gz.asc → /tmp/yarn.tar.gz.xJGxUXw1K9.asc |
2023-02-28T08:26:21.479198Z | 100 85 100 85 0 0 1619 0 --:–:-- --:–:-- --:–:-- 1619 |
2023-02-28T08:26:21.498988Z | 100 99 100 99 0 0 1369 0 --:–:-- --:–:-- --:–:-- 1369 |
2023-02-28T08:26:21.648188Z | 0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0 0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0 |
2023-02-28T08:26:21.747094Z | 100 833 100 833 0 0 2599 0 --:–:-- --:–:-- --:–:-- 2599 |
2023-02-28T08:26:21.795655Z | e[36m> Verifying integrity…e[0m |
2023-02-28T08:26:21.832974Z | gpg: Signature made Tue 10 May 2022 07:48:23 PM UTC using RSA key ID 69475BAA |
2023-02-28T08:26:21.839140Z | gpg: Good signature from Yarn Packaging [email protected] |
2023-02-28T08:26:21.841668Z | gpg: Note: This key has expired! |
2023-02-28T08:26:21.841930Z | Primary key fingerprint: 72EC F46A 56B4 AD39 C907 BBB7 1646 B01B 86E5 0310 |
2023-02-28T08:26:21.842108Z | Subkey fingerprint: 6D98 490C 6F1A CDDD 448E 4595 4F77 6793 6947 5BAA |
2023-02-28T08:26:21.842748Z | e[32m> GPG signature looks goode[0m |
2023-02-28T08:26:21.843169Z | e[36m> Extracting to ~/.yarn…e[0m |
2023-02-28T08:26:21.935404Z | e[36m> Adding to $PATH…e[0m |
2023-02-28T08:26:21.960909Z | e[36m> We’ve added the following to your /opt/buildhome/.bashrc |
2023-02-28T08:26:21.961254Z | > If this isn’t the profile of your current shell then please add the following to your correct profile: |
2023-02-28T08:26:21.961425Z | |
2023-02-28T08:26:21.961582Z | export PATH=$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH |
2023-02-28T08:26:21.961701Z | e[0m |
2023-02-28T08:26:22.347631Z | e[32m> Successfully installed Yarn 1.22.19! Please open another terminal where the yarn command will now be available.e[0m |
2023-02-28T08:26:22.750927Z | Installing NPM modules using Yarn version 1.22.19 |
2023-02-28T08:26:23.261130Z | npm WARN config tmp This setting is no longer used. npm stores temporary files in a special |
2023-02-28T08:26:23.261524Z | npm WARN config location in the cache, and they are managed by |
2023-02-28T08:26:23.261792Z | npm WARN config cacache . |
2023-02-28T08:26:23.519655Z | yarn install v1.22.19 |
2023-02-28T08:26:23.669756Z | [1/4] Resolving packages… |
2023-02-28T08:26:24.578720Z | [2/4] Fetching packages… |
2023-02-28T08:27:35.696485Z | warning [email protected]: The engine pnpm appears to be invalid. |
2023-02-28T08:27:35.738647Z | [3/4] Linking dependencies… |
2023-02-28T08:27:35.750670Z | warning @0xsquid/widget > wagmi > @coinbase/wallet-sdk > eth-block-tracker > @babel/plugin-transform-runtime > babel-plugin-polyfill-corejs2 > @babel/[email protected] has unmet peer dependency @babel/[email protected]^7.4.0-0. |
2023-02-28T08:27:35.753741Z | warning > [email protected] has unmet peer dependency [email protected]^15.6.0. |
2023-02-28T08:27:35.754527Z | warning > [email protected] has unmet peer dependency [email protected]>=1.8.0. |
2023-02-28T08:27:35.754953Z | warning > [email protected] has unmet peer dependency [email protected]>= 16.8.0. |
2023-02-28T08:27:35.757215Z | warning @gelatonetwork/limit-orders-react > rebass > [email protected] has incorrect peer dependency [email protected]^16.8.6. |
2023-02-28T08:27:35.759186Z | warning > @uniswap/[email protected] has unmet peer dependency @ethersproject/[email protected]^5.0.0-beta. |
2023-02-28T08:27:35.759394Z | warning > @uniswap/[email protected] has unmet peer dependency @ethersproject/[email protected]^5.0.0-beta. |
2023-02-28T08:27:35.759564Z | warning > @uniswap/[email protected] has unmet peer dependency @ethersproject/[email protected]^5.0.0-beta. |
2023-02-28T08:27:35.759712Z | warning > @uniswap/[email protected] has unmet peer dependency @ethersproject/[email protected]^5.0.0-beta. |
2023-02-28T08:27:35.759841Z | warning > @uniswap/[email protected] has unmet peer dependency @ethersproject/[email protected]^5.0.0-beta. |
2023-02-28T08:27:35.759956Z | warning @uniswap/v3-sdk > @uniswap/swap-router-contracts > [email protected] has unmet peer dependency [email protected]^2.0.0. |
2023-02-28T08:28:52.753102Z | [4/4] Building fresh packages… |
2023-02-28T08:28:52.753433Z | warning Ignored scripts due to flag. |
2023-02-28T08:28:52.815903Z | Done in 149.30s. |
2023-02-28T08:28:52.884184Z | NPM modules installed using Yarn |
2023-02-28T08:28:53.203582Z | Installing Hugo 0.54.0 |
2023-02-28T08:28:53.904312Z | Hugo Static Site Generator v0.54.0-B1A82C61A/extended linux/amd64 BuildDate: 2019-02-01T10:04:38Z |
2023-02-28T08:28:53.908656Z | Started restoring cached go cache |
2023-02-28T08:28:53.930629Z | Finished restoring cached go cache |
2023-02-28T08:28:54.093047Z | go version go1.14.4 linux/amd64 |
2023-02-28T08:28:54.109159Z | go version go1.14.4 linux/amd64 |
2023-02-28T08:28:54.112142Z | Installing missing commands |
2023-02-28T08:28:54.112485Z | Verify run directory |
2023-02-28T08:28:54.112825Z | Executing user command: yarn build |
2023-02-28T08:28:54.383963Z | yarn run v1.22.19 |
2023-02-28T08:28:54.440861Z | $ GENERATE_SOURCEMAP=false CI=false react-app-rewired build |
2023-02-28T08:28:57.355505Z | Creating an optimized production build… |
2023-02-28T08:37:12.571689Z | Failed: an internal error occurred |