Build fails on Yarn's "[5/5] Building fresh packages..." step

Hi,

I’m experiencing a deployment timeout: Build exceeded maximum allowed runtime

It seems odd that yarn install would timeout, especially since locally the 5th step takes very little time.

I’m not sure what levers I can pull. I tried using the default YARN version and I also tried forcing the YARN version to my local version (1.22.17), but neither worked.

You’ll see in the build output below that I enabled debug logs so there is more info.

  • we need to know your netlify site name.
    • https://app.netlify.com/sites/pp-ait-ui-dev
  • Build problems? Link or paste the FULL build log & build settings screenshot
9:07:40 AM: Build ready to start
9:07:42 AM: build-image version: 6ebfb829398e07eb99ad5455777162ff19838822 (xenial)
9:07:42 AM: build-image tag: v3.10.5
9:07:42 AM: buildbot version: 7eafb394e33f42f945c880ce4ac17c149867813a
9:07:42 AM: Building without cache
9:07:42 AM: Starting to prepare the repo for build
9:07:43 AM: No cached dependencies found. Cloning fresh repo
9:07:43 AM: git clone https://github.com/Platform-Pioneers/automated-invoice-tracker
9:07:44 AM: Preparing Git Reference refs/heads/dev
9:07:44 AM: Parsing package.json dependencies
9:07:45 AM: 
​
❯ Initial build environment
baseRelDir: true
branch: dev
context: production
cwd: /opt/build/repo
featureFlags: []
mode: buildbot
repositoryRoot: /opt/build/repo
siteId: f543abf9-f1d3-40a4-bbc2-28898c574c8a
​
❯ UI build settings
baseRelDir: true
build:
  command: react-scripts build
  environment:
    - NETLIFY_BUILD_DEBUG
    - REACT_APP_API_BASE_URL
    - REACT_APP_GOOGLE_TAG_MANAGER_AUTH
    - REACT_APP_GOOGLE_TAG_MANAGER_ID
    - REACT_APP_GOOGLE_TAG_MANAGER_PREVIEW
    - SKIP_PREFLIGHT_CHECK
    - YARN_VERSION
  publish: build
​
❯ Resolved build environment
branch: dev
buildDir: /opt/build/repo
context: production
env: []
​
❯ Resolved config
build:
  command: react-scripts build
  commandOrigin: ui
  environment:
    - NETLIFY_BUILD_DEBUG
    - REACT_APP_API_BASE_URL
    - REACT_APP_GOOGLE_TAG_MANAGER_AUTH
    - REACT_APP_GOOGLE_TAG_MANAGER_ID
    - REACT_APP_GOOGLE_TAG_MANAGER_PREVIEW
    - SKIP_PREFLIGHT_CHECK
    - YARN_VERSION
  publish: /opt/build/repo/build
  publishOrigin: ui

9:07:46 AM: Starting build script
9:07:46 AM: Installing dependencies
9:07:46 AM: Python version set to 2.7
9:07:46 AM: Attempting node version 'v14.15.0' from .nvmrc
9:07:47 AM: Downloading and installing node v14.15.0...
9:07:47 AM: Downloading https://nodejs.org/dist/v14.15.0/node-v14.15.0-linux-x64.tar.xz...
9:07:48 AM: Computing checksum with sha256sum
9:07:48 AM: Checksums matched!
9:07:51 AM: Now using node v14.15.0 (npm v6.14.8)
9:07:52 AM: Started restoring cached build plugins
9:07:52 AM: Finished restoring cached build plugins
9:07:52 AM: Attempting ruby version 2.7.1, read from environment
9:07:53 AM: Required ruby-2.7.1 is not installed - installing.
9:07:54 AM: Searching for binary rubies, this might take some time.
9:07:54 AM: Found remote file https://rvm_io.global.ssl.fastly.net/binaries/ubuntu/16.04/x86_64/ruby-2.7.1.tar.bz2
9:07:54 AM: Checking requirements for ubuntu.
9:07:54 AM: Requirements installation successful.
9:07:55 AM: ruby-2.7.1 - #configure
9:07:55 AM: ruby-2.7.1 - #download
9:07:56 AM: ruby-2.7.1 - #validate archive
9:08:01 AM: ruby-2.7.1 - #extract
9:08:04 AM: ruby-2.7.1 - #validate binary
9:08:05 AM: ruby-2.7.1 - #setup
9:08:05 AM: ruby-2.7.1 - #gemset created /opt/buildhome/.rvm/gems/ruby-2.7.1@global
9:08:06 AM: ruby-2.7.1 - #importing gemset /opt/buildhome/.rvm/gemsets/global.gems........................................
9:08:06 AM: ruby-2.7.1 - #generating global wrappers........
9:08:06 AM: ruby-2.7.1 - #gemset created /opt/buildhome/.rvm/gems/ruby-2.7.1
9:08:06 AM: ruby-2.7.1 - #importing gemsetfile /opt/buildhome/.rvm/gemsets/default.gems evaluated to empty gem list
9:08:07 AM: ruby-2.7.1 - #generating default wrappers........
9:08:07 AM: Using /opt/buildhome/.rvm/gems/ruby-2.7.1
9:08:08 AM: Using ruby version 2.7.1
9:08:08 AM: Using PHP version 5.6
9:08:08 AM: Started restoring cached yarn cache
9:08:08 AM: Finished restoring cached yarn cache
9:08:09 AM: Found yarn version (1.22.10) that doesn't match expected (1.22.17)
up to date in 0.04s
9:08:09 AM: Installing yarn at version 1.22.17
9:08:09 AM: Installing Yarn!
9:08:09 AM: > Downloading tarball...
9:08:09 AM: [1/2]: https://yarnpkg.com/downloads/1.22.17/yarn-v1.22.17.tar.gz --> /tmp/yarn.tar.gz.BdPlTL56mx
9:08:09 AM:   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
9:08:09 AM:                                  Dload  Upload   Total   Spent    Left  Speed
9:08:10 AM:   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
9:08:10 AM: 100    81  100    81    0     0    464      0 --:--:-- --:--:-- --:--:--   465
9:08:10 AM:   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
9:08:10 AM: 100    94  100    94    0     0    210      0 --:--:-- --:--:-- --:--:--   445
9:08:10 AM: 100   657  100   657    0     0    947      0 --:--:-- --:--:-- --:--:--   947
9:08:10 AM: 100 1216k  100 1216k    0     0  1165k      0  0:00:01  0:00:01 --:--:-- 1165k
9:08:10 AM: [2/2]: https://yarnpkg.com/downloads/1.22.17/yarn-v1.22.17.tar.gz.asc --> /tmp/yarn.tar.gz.BdPlTL56mx.asc
9:08:10 AM: 100    85  100    85    0     0   3203      0 --:--:-- --:--:-- --:--:--  3203
9:08:10 AM: 100    99  100    99    0     0   2095      0 --:--:-- --:--:-- --:--:--  2095
9:08:11 AM: 100   661  100   661    0     0   4614      0 --:--:-- --:--:-- --:--:--  4614
9:08:11 AM:   0  1028    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
9:08:11 AM: 100  1028  100  1028    0     0   6002      0 --:--:-- --:--:-- --:--:-- 1003k
9:08:11 AM: > Verifying integrity...
9:08:11 AM: gpg: Signature made Sat 16 Oct 2021 03:08:26 PM UTC using RSA key ID 69475BAA
9:08:11 AM: gpg: Good signature from "Yarn Packaging <yarn@dan.cx>"
9:08:11 AM: gpg: WARNING: This key is not certified with a trusted signature!
9:08:11 AM: gpg:          There is no indication that the signature belongs to the owner.
9:08:11 AM: Primary key fingerprint: 72EC F46A 56B4 AD39 C907  BBB7 1646 B01B 86E5 0310
9:08:11 AM:      Subkey fingerprint: 6D98 490C 6F1A CDDD 448E  4595 4F77 6793 6947 5BAA
9:08:11 AM: > GPG signature looks good
9:08:11 AM: > Extracting to ~/.yarn...
9:08:11 AM: > Adding to $PATH...
9:08:11 AM: > Successfully installed Yarn 1.22.17! Please open another terminal where the `yarn` command will now be available.
9:08:12 AM: No yarn workspaces detected
9:08:12 AM: Started restoring cached node modules
9:08:12 AM: Finished restoring cached node modules
9:08:12 AM: Installing NPM modules using Yarn version 1.22.17
9:08:12 AM: yarn install v1.22.17
9:08:13 AM: [1/5] Validating package.json...
9:08:13 AM: [2/5] Resolving packages...
9:08:13 AM: warning Resolution field "acorn@8.0.1" is incompatible with requested version "acorn@^6.4.1"
9:08:13 AM: warning Resolution field "acorn@8.0.1" is incompatible with requested version "acorn@^7.4.0"
9:08:13 AM: warning Resolution field "acorn@8.0.1" is incompatible with requested version "acorn@^7.1.0"
9:08:13 AM: warning Resolution field "acorn@8.0.1" is incompatible with requested version "acorn@^7.1.1"
9:08:13 AM: warning Resolution field "acorn@8.0.1" is incompatible with requested version "acorn@^7.1.1"
9:08:14 AM: warning Resolution field "acorn@8.0.1" is incompatible with requested version "acorn@^8.2.4"
9:08:14 AM: [3/5] Fetching packages...
9:09:13 AM: [4/5] Linking dependencies...
9:09:13 AM: warning "@bull-monitor/express > apollo-server-express@2.25.3" has unmet peer dependency "graphql@^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0".
9:09:13 AM: warning "@bull-monitor/express > apollo-server-express > apollo-server-core@2.25.3" has unmet peer dependency "graphql@^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0".
9:09:13 AM: warning "@bull-monitor/express > apollo-server-express > apollo-server-types@0.9.0" has unmet peer dependency "graphql@^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0".
9:09:13 AM: warning "@bull-monitor/express > apollo-server-express > graphql-subscriptions@1.2.1" has unmet peer dependency "graphql@^0.10.5 || ^0.11.3 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0".
9:09:13 AM: warning "@bull-monitor/express > apollo-server-express > graphql-tools@4.0.8" has unmet peer dependency "graphql@^0.13.0 || ^14.0.0 || ^15.0.0".
9:09:13 AM: warning "@bull-monitor/express > apollo-server-express > subscriptions-transport-ws@0.9.19" has unmet peer dependency "graphql@>=0.10.0".
9:09:13 AM: warning "@bull-monitor/express > apollo-server-express > apollo-server-core > @apollographql/graphql-upload-8-fork@8.1.3" has unmet peer dependency "graphql@0.13.1 - 15".
9:09:13 AM: warning "@bull-monitor/express > apollo-server-express > apollo-server-core > apollo-cache-control@0.14.0" has unmet peer dependency "graphql@^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0".
9:09:13 AM: warning "@bull-monitor/express > apollo-server-express > apollo-server-core > apollo-graphql@0.9.5" has unmet peer dependency "graphql@^14.2.1 || ^15.0.0".
9:09:13 AM: warning "@bull-monitor/express > apollo-server-express > apollo-server-core > apollo-server-errors@2.5.0" has unmet peer dependency "graphql@^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0".
9:09:13 AM: warning "@bull-monitor/express > apollo-server-express > apollo-server-core > apollo-server-plugin-base@0.13.0" has unmet peer dependency "graphql@^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0".
9:09:13 AM: warning "@bull-monitor/express > apollo-server-express > apollo-server-core > apollo-tracing@0.15.0" has unmet peer dependency "graphql@^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0".
9:09:13 AM: warning "@bull-monitor/express > apollo-server-express > apollo-server-core > graphql-extensions@0.15.0" has unmet peer dependency "graphql@^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0".
9:09:13 AM: warning "@bull-monitor/express > apollo-server-express > apollo-server-core > graphql-tag@2.12.6" has unmet peer dependency "graphql@^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0".
9:09:13 AM: warning "@bull-monitor/express > apollo-server-express > graphql-tools > apollo-link@1.2.14" has unmet peer dependency "graphql@^0.11.3 || ^0.12.3 || ^0.13.0 || ^14.0.0 || ^15.0.0".
9:09:13 AM: warning "@bull-monitor/express > apollo-server-express > graphql-tools > apollo-utilities@1.3.4" has unmet peer dependency "graphql@^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0".
9:09:13 AM: warning " > @chakra-ui/icons@1.0.13" has unmet peer dependency "@chakra-ui/system@>=1.0.0".
9:09:13 AM: warning "@chakra-ui/icons > @chakra-ui/icon@1.1.9" has unmet peer dependency "@chakra-ui/system@>=1.0.0".
9:09:13 AM: warning " > @choc-ui/chakra-autocomplete@4.11.3" has incorrect peer dependency "@chakra-ui/react@>=1.6.5".
9:09:13 AM: warning "@emotion/styled > @emotion/babel-plugin@11.3.0" has unmet peer dependency "@babel/core@^7.0.0".
9:09:13 AM: warning "@emotion/styled > @emotion/babel-plugin > @babel/plugin-syntax-jsx@7.12.13" has unmet peer dependency "@babel/core@^7.0.0-0".
9:09:13 AM: warning " > @testing-library/user-event@12.8.3" has unmet peer dependency "@testing-library/dom@>=7.21.4".
9:09:13 AM: warning "monday-ui-react-core > react-windowed-select@2.0.5" has incorrect peer dependency "react@^16.8.0".
9:09:13 AM: warning "monday-ui-react-core > react-windowed-select@2.0.5" has incorrect peer dependency "react-dom@^16.8.0".
9:09:13 AM: warning "monday-ui-react-core > react-windowed-select > react-select@3.1.0" has incorrect peer dependency "react@^16.8.0".
9:09:13 AM: warning "monday-ui-react-core > react-windowed-select > react-select@3.1.0" has incorrect peer dependency "react-dom@^16.8.0".
9:09:13 AM: warning "monday-ui-react-core > react-windowed-select > react-window@1.8.5" has incorrect peer dependency "react@^15.0.0 || ^16.0.0".
9:09:13 AM: warning "monday-ui-react-core > react-windowed-select > react-window@1.8.5" has incorrect peer dependency "react-dom@^15.0.0 || ^16.0.0".
9:09:13 AM: warning "monday-ui-react-core > react-windowed-select > react-select > react-input-autosize@2.2.2" has incorrect peer dependency "react@^0.14.9 || ^15.3.0 || ^16.0.0-rc || ^16.0".
9:09:13 AM: warning " > routing-controllers@0.9.0" has incorrect peer dependency "class-transformer@^0.3.1".
9:09:13 AM: warning " > routing-controllers@0.9.0" has incorrect peer dependency "class-validator@^0.12.2".
9:09:13 AM: warning " > styled-components@5.3.0" has unmet peer dependency "react-is@>= 16.8.0".
9:09:13 AM: warning " > eslint-config-next@11.0.1" has unmet peer dependency "next@>=10.2.0".
9:09:13 AM: warning " > ts-loader@8.2.0" has unmet peer dependency "webpack@*".
9:09:13 AM: warning " > webpack-cli@4.6.0" has unmet peer dependency "webpack@4.x.x || 5.x.x".
9:09:13 AM: warning "webpack-cli > @webpack-cli/configtest@1.0.2" has unmet peer dependency "webpack@4.x.x || 5.x.x".
9:10:01 AM: [5/5] Building fresh packages...

hi there, so, the default build time for a site is 15 minutes. We can bump this up to more time if there is a payment method on file (i.e credit card) on the account.

I see you are a Pro account member, would you like us to bump you up to 30 mins and see if that helps?

1 Like

@perry That would be great.

Do you think that will solve the issue? Seems odd that building the fresh packages would take so long. Is that a reflection of the resource constraints of the build server?

Cheers,
Chris

hey there,

we have bumped you up to a 45 min build time.

i bet that only the first build will take that long and once we have all the packages it’ll be speedier unless you choose to delete the cache.

That didn’t fix it @perry .

Any other ideas?

can you post your latest failing build log, please?

2:15:47 PM: Build ready to start
2:15:49 PM: build-image version: 6ebfb829398e07eb99ad5455777162ff19838822 (xenial)
2:15:49 PM: build-image tag: v3.10.5
2:15:49 PM: buildbot version: 7eafb394e33f42f945c880ce4ac17c149867813a
2:15:49 PM: Fetching cached dependencies
2:15:49 PM: Failed to fetch cache, continuing with build
2:15:49 PM: Starting to prepare the repo for build
2:15:50 PM: No cached dependencies found. Cloning fresh repo
2:15:50 PM: git clone https://github.com/Platform-Pioneers/automated-invoice-tracker
2:15:51 PM: Preparing Git Reference refs/heads/dev
2:15:52 PM: Parsing package.json dependencies
2:15:52 PM: 
​
❯ Initial build environment
baseRelDir: true
branch: dev
context: production
cwd: /opt/build/repo
featureFlags: []
mode: buildbot
repositoryRoot: /opt/build/repo
siteId: f543abf9-f1d3-40a4-bbc2-28898c574c8a
​
❯ UI build settings
baseRelDir: true
build:
  command: react-scripts build
  environment:
    - NETLIFY_BUILD_DEBUG
    - REACT_APP_API_BASE_URL
    - REACT_APP_GOOGLE_TAG_MANAGER_AUTH
    - REACT_APP_GOOGLE_TAG_MANAGER_ID
    - REACT_APP_GOOGLE_TAG_MANAGER_PREVIEW
    - SKIP_PREFLIGHT_CHECK
    - YARN_VERSION
  publish: build
​
❯ Resolved build environment
branch: dev
buildDir: /opt/build/repo
context: production
env: []
​
❯ Resolved config
build:
  command: react-scripts build
  commandOrigin: ui
  environment:
    - NETLIFY_BUILD_DEBUG
    - REACT_APP_API_BASE_URL
    - REACT_APP_GOOGLE_TAG_MANAGER_AUTH
    - REACT_APP_GOOGLE_TAG_MANAGER_ID
    - REACT_APP_GOOGLE_TAG_MANAGER_PREVIEW
    - SKIP_PREFLIGHT_CHECK
    - YARN_VERSION
  publish: /opt/build/repo/build
  publishOrigin: ui

2:15:53 PM: Starting build script
2:15:53 PM: Installing dependencies
2:15:53 PM: Python version set to 2.7
2:15:53 PM: Attempting node version 'v14.15.0' from .nvmrc
2:15:54 PM: Downloading and installing node v14.15.0...
2:15:54 PM: Downloading https://nodejs.org/dist/v14.15.0/node-v14.15.0-linux-x64.tar.xz...
2:15:54 PM: Computing checksum with sha256sum
2:15:54 PM: Checksums matched!
2:15:57 PM: Now using node v14.15.0 (npm v6.14.8)
2:15:57 PM: Started restoring cached build plugins
2:15:57 PM: Finished restoring cached build plugins
2:15:57 PM: Attempting ruby version 2.7.1, read from environment
2:15:58 PM: Required ruby-2.7.1 is not installed - installing.
2:15:58 PM: Searching for binary rubies, this might take some time.
2:15:58 PM: Found remote file https://rvm_io.global.ssl.fastly.net/binaries/ubuntu/16.04/x86_64/ruby-2.7.1.tar.bz2
2:15:58 PM: Checking requirements for ubuntu.
2:15:59 PM: Requirements installation successful.
2:15:59 PM: ruby-2.7.1 - #configure
2:15:59 PM: ruby-2.7.1 - #download
2:16:00 PM: ruby-2.7.1 - #validate archive
2:16:04 PM: ruby-2.7.1 - #extract
2:16:06 PM: ruby-2.7.1 - #validate binary
2:16:07 PM: ruby-2.7.1 - #setup
2:16:07 PM: ruby-2.7.1 - #gemset created /opt/buildhome/.rvm/gems/ruby-2.7.1@global
2:16:07 PM: ruby-2.7.1 - #importing gemset /opt/buildhome/.rvm/gemsets/global.gems........................................
2:16:08 PM: ruby-2.7.1 - #generating global wrappers........
2:16:08 PM: ruby-2.7.1 - #gemset created /opt/buildhome/.rvm/gems/ruby-2.7.1
2:16:08 PM: ruby-2.7.1 - #importing gemsetfile /opt/buildhome/.rvm/gemsets/default.gems evaluated to empty gem list
2:16:09 PM: ruby-2.7.1 - #generating default wrappers........
2:16:09 PM: Using /opt/buildhome/.rvm/gems/ruby-2.7.1
2:16:09 PM: Using ruby version 2.7.1
2:16:09 PM: Using PHP version 5.6
2:16:09 PM: Started restoring cached yarn cache
2:16:10 PM: Finished restoring cached yarn cache
2:16:11 PM: Found yarn version (1.22.10) that doesn't match expected (1.22.17)
up to date in 0.032s
2:16:11 PM: Installing yarn at version 1.22.17
2:16:11 PM: Installing Yarn!
2:16:11 PM: > Downloading tarball...
2:16:11 PM: [1/2]: https://yarnpkg.com/downloads/1.22.17/yarn-v1.22.17.tar.gz --> /tmp/yarn.tar.gz.rxnT8lnmfn
2:16:11 PM:   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
2:16:11 PM:                                  Dload  Upload   Total   Spent    Left  Speed
2:16:11 PM:   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
2:16:11 PM: 100    81  100    81    0     0    363      0 --:--:-- --:--:-- --:--:--   364
2:16:11 PM:   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
2:16:11 PM: 100    95  100    95    0     0    235      0 --:--:-- --:--:-- --:--:--   568
2:16:11 PM: 100   657  100   657    0     0   1000      0 --:--:-- --:--:-- --:--:--  1000
2:16:12 PM: 100 1216k  100 1216k    0     0  1257k      0 --:--:-- --:--:-- --:--:-- 1257k
2:16:12 PM: [2/2]: https://yarnpkg.com/downloads/1.22.17/yarn-v1.22.17.tar.gz.asc --> /tmp/yarn.tar.gz.rxnT8lnmfn.asc
2:16:12 PM: 100    85  100    85    0     0   2092      0 --:--:-- --:--:-- --:--:--  2092
2:16:12 PM: 100    98  100    98    0     0   1807      0 --:--:-- --:--:-- --:--:--  1807
2:16:12 PM: 100   661  100   661    0     0   9714      0 --:--:-- --:--:-- --:--:--  9714
2:16:12 PM: 100  1028  100  1028    0     0   8660      0 --:--:-- --:--:-- --:--:--  8660
2:16:12 PM: > Verifying integrity...
2:16:12 PM: gpg: Signature made Sat 16 Oct 2021 03:08:26 PM UTC using RSA key ID 69475BAA
2:16:12 PM: gpg: Good signature from "Yarn Packaging <yarn@dan.cx>"
2:16:12 PM: gpg: WARNING: This key is not certified with a trusted signature!
2:16:12 PM: gpg:          There is no indication that the signature belongs to the owner.
2:16:12 PM: Primary key fingerprint: 72EC F46A 56B4 AD39 C907  BBB7 1646 B01B 86E5 0310
2:16:12 PM:      Subkey fingerprint: 6D98 490C 6F1A CDDD 448E  4595 4F77 6793 6947 5BAA
2:16:12 PM: > GPG signature looks good
2:16:12 PM: > Extracting to ~/.yarn...
2:16:12 PM: > Adding to $PATH...
2:16:12 PM: > Successfully installed Yarn 1.22.17! Please open another terminal where the `yarn` command will now be available.
2:16:12 PM: No yarn workspaces detected
2:16:12 PM: Started restoring cached node modules
2:16:12 PM: Finished restoring cached node modules
2:16:13 PM: Installing NPM modules using Yarn version 1.22.17
2:16:13 PM: yarn install v1.22.17
2:16:13 PM: [1/5] Validating package.json...
2:16:13 PM: [2/5] Resolving packages...
2:16:14 PM: warning Resolution field "acorn@8.0.1" is incompatible with requested version "acorn@^6.4.1"
2:16:14 PM: warning Resolution field "acorn@8.0.1" is incompatible with requested version "acorn@^7.4.0"
2:16:14 PM: warning Resolution field "acorn@8.0.1" is incompatible with requested version "acorn@^7.1.0"
2:16:14 PM: warning Resolution field "acorn@8.0.1" is incompatible with requested version "acorn@^7.1.1"
2:16:14 PM: warning Resolution field "acorn@8.0.1" is incompatible with requested version "acorn@^7.1.1"
2:16:14 PM: warning Resolution field "acorn@8.0.1" is incompatible with requested version "acorn@^8.2.4"
2:16:14 PM: [3/5] Fetching packages...
2:17:04 PM: [4/5] Linking dependencies...
2:17:04 PM: warning "@bull-monitor/express > apollo-server-express@2.25.3" has unmet peer dependency "graphql@^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0".
2:17:04 PM: warning "@bull-monitor/express > apollo-server-express > apollo-server-core@2.25.3" has unmet peer dependency "graphql@^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0".
2:17:04 PM: warning "@bull-monitor/express > apollo-server-express > apollo-server-types@0.9.0" has unmet peer dependency "graphql@^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0".
2:17:04 PM: warning "@bull-monitor/express > apollo-server-express > graphql-subscriptions@1.2.1" has unmet peer dependency "graphql@^0.10.5 || ^0.11.3 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0".
2:17:04 PM: warning "@bull-monitor/express > apollo-server-express > graphql-tools@4.0.8" has unmet peer dependency "graphql@^0.13.0 || ^14.0.0 || ^15.0.0".
2:17:04 PM: warning "@bull-monitor/express > apollo-server-express > subscriptions-transport-ws@0.9.19" has unmet peer dependency "graphql@>=0.10.0".
2:17:04 PM: warning "@bull-monitor/express > apollo-server-express > apollo-server-core > @apollographql/graphql-upload-8-fork@8.1.3" has unmet peer dependency "graphql@0.13.1 - 15".
2:17:04 PM: warning "@bull-monitor/express > apollo-server-express > apollo-server-core > apollo-cache-control@0.14.0" has unmet peer dependency "graphql@^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0".
2:17:04 PM: warning "@bull-monitor/express > apollo-server-express > apollo-server-core > apollo-graphql@0.9.5" has unmet peer dependency "graphql@^14.2.1 || ^15.0.0".
2:17:04 PM: warning "@bull-monitor/express > apollo-server-express > apollo-server-core > apollo-server-errors@2.5.0" has unmet peer dependency "graphql@^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0".
2:17:04 PM: warning "@bull-monitor/express > apollo-server-express > apollo-server-core > apollo-server-plugin-base@0.13.0" has unmet peer dependency "graphql@^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0".
2:17:04 PM: warning "@bull-monitor/express > apollo-server-express > apollo-server-core > apollo-tracing@0.15.0" has unmet peer dependency "graphql@^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0".
2:17:04 PM: warning "@bull-monitor/express > apollo-server-express > apollo-server-core > graphql-extensions@0.15.0" has unmet peer dependency "graphql@^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0".
2:17:04 PM: warning "@bull-monitor/express > apollo-server-express > apollo-server-core > graphql-tag@2.12.6" has unmet peer dependency "graphql@^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0".
2:17:04 PM: warning "@bull-monitor/express > apollo-server-express > graphql-tools > apollo-link@1.2.14" has unmet peer dependency "graphql@^0.11.3 || ^0.12.3 || ^0.13.0 || ^14.0.0 || ^15.0.0".
2:17:04 PM: warning "@bull-monitor/express > apollo-server-express > graphql-tools > apollo-utilities@1.3.4" has unmet peer dependency "graphql@^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0".
2:17:04 PM: warning " > @chakra-ui/icons@1.0.13" has unmet peer dependency "@chakra-ui/system@>=1.0.0".
2:17:04 PM: warning "@chakra-ui/icons > @chakra-ui/icon@1.1.9" has unmet peer dependency "@chakra-ui/system@>=1.0.0".
2:17:04 PM: warning " > @choc-ui/chakra-autocomplete@4.11.3" has incorrect peer dependency "@chakra-ui/react@>=1.6.5".
2:17:04 PM: warning "@emotion/styled > @emotion/babel-plugin@11.3.0" has unmet peer dependency "@babel/core@^7.0.0".
2:17:04 PM: warning "@emotion/styled > @emotion/babel-plugin > @babel/plugin-syntax-jsx@7.12.13" has unmet peer dependency "@babel/core@^7.0.0-0".
2:17:04 PM: warning " > @testing-library/user-event@12.8.3" has unmet peer dependency "@testing-library/dom@>=7.21.4".
2:17:04 PM: warning "monday-ui-react-core > react-windowed-select@2.0.5" has incorrect peer dependency "react@^16.8.0".
2:17:04 PM: warning "monday-ui-react-core > react-windowed-select@2.0.5" has incorrect peer dependency "react-dom@^16.8.0".
2:17:04 PM: warning "monday-ui-react-core > react-windowed-select > react-select@3.1.0" has incorrect peer dependency "react@^16.8.0".
2:17:04 PM: warning "monday-ui-react-core > react-windowed-select > react-select@3.1.0" has incorrect peer dependency "react-dom@^16.8.0".
2:17:04 PM: warning "monday-ui-react-core > react-windowed-select > react-window@1.8.5" has incorrect peer dependency "react@^15.0.0 || ^16.0.0".
2:17:04 PM: warning "monday-ui-react-core > react-windowed-select > react-window@1.8.5" has incorrect peer dependency "react-dom@^15.0.0 || ^16.0.0".
2:17:04 PM: warning "monday-ui-react-core > react-windowed-select > react-select > react-input-autosize@2.2.2" has incorrect peer dependency "react@^0.14.9 || ^15.3.0 || ^16.0.0-rc || ^16.0".
2:17:04 PM: warning " > routing-controllers@0.9.0" has incorrect peer dependency "class-transformer@^0.3.1".
2:17:04 PM: warning " > routing-controllers@0.9.0" has incorrect peer dependency "class-validator@^0.12.2".
2:17:04 PM: warning " > styled-components@5.3.0" has unmet peer dependency "react-is@>= 16.8.0".
2:17:04 PM: warning " > eslint-config-next@11.0.1" has unmet peer dependency "next@>=10.2.0".
2:17:04 PM: warning " > ts-loader@8.2.0" has unmet peer dependency "webpack@*".
2:17:04 PM: warning " > webpack-cli@4.6.0" has unmet peer dependency "webpack@4.x.x || 5.x.x".
2:17:04 PM: warning "webpack-cli > @webpack-cli/configtest@1.0.2" has unmet peer dependency "webpack@4.x.x || 5.x.x".
2:17:38 PM: [5/5] Building fresh packages...
3:18:48 PM: Build exceeded maximum allowed runtime

hi again, thanks. we just gave you 1.5 hours of build time, please do try again once more to see if it goes through!

Hey @perry ,

That didn’t work either :frowning:

Any ideas?

that is…very strange.

i will have to get someone else to take a look at this, but in an attempt to get you unstuck and get a fresh build going, i would suggest you build locally and then push those files. is that something you can try?

hi again,

i made a mistake :frowning: i thought i had bumped your build time up to 90 minutes but i forgot a final step to save the changes. so, you were still running as if you only had a 45 minute build timeout.

can you try one more time? thank you, and sorry about that. it is definitely at 90 minutes, i just double checked it.

Trying it now! Will let you know.

No luck @perry. Are there any other logs on the Netlify backend that might point to the issue?

Let me know @perry :slight_smile:

hi again, i just reviewed your build logs and it really does look like your app requires a 2+ hour build time. I do think you would benefit from trying to optimize this a bit, but i just bumped you up to a 3 hour build time so you can complete the build. if this still doesn’t work, the only real solution i can make is to build locally and then push the completed/built files so you don’t have to build on deploy.

I’ll also have someone from a different team reach out to you and see if we can maybe get you on a different plan to make things more efficient!

1 Like

Will try it once more!

What makes you say it looks like it requires that amount of time?

What would you recommend I do to optimize?

Will keep you updated!

Cheers,
Chris

hi there, were you able to get a successful build going?