Sabrina Leggett
Sabrina Leggett

Reputation: 9494

Composer hangs on "Resolving dependencies through SAT" on 4.2

Things I've tried:

With all my packages, I've seen composer complete but only when I left it running overnight. I can't deploy to forge at all because it times out! This only started happening two or so weeks ago.

Upvotes: 15

Views: 4680

Answers (1)

Sabrina Leggett
Sabrina Leggett

Reputation: 9494

For all looking for an answer...here's what helped increase performance:

  1. Commit composer.lock: if you're not doing this already you can run 'composer update' on one machine and then commit your lock file then run 'composer install' on each other machine. This saved our deployment process!
  2. Generally declare versions as explicitly as possible.

and/or

  1. update your Laravel version!

Upvotes: 2

Related Questions