Cap Deploy fails during Yarn install

During Yarn install the deploy fails without any errors (roughly 2 mins into the deploy). I see a lot of “waiting” and then deploy fails. Is there a timeout on the deploy? If so, can it be adjusted?

Thanks

Alan, any luck with this one?

Are you running Ubuntu 14 by change? I am having the same problem and thinking it has to do with the version of Node that ships with Ubuntu 14.

https://yarnpkg.com/lang/en/docs/install/#linux-tab

Following the linux guide on the yarn site, you’ll need to add this to your deploy_hooks

- command: curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
  target: any
  execute: true
  apply_during: build_only
  sudo: true
- command: echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
  target: any
  execute: true
  apply_during: build_only
  sudo: true
- command: apt-get update && sudo apt-get install yarn
  target: any
  execute: true
  apply_during: build_only
  sudo: true

You must be logged in to answer this question