# Update from 3.8.13 to 4.0 Errors

**URL:** <https://discourse.cakephp.org/t/update-from-3-8-13-to-4-0-errors/8364>\
**Category:** Need Help\
**Created:** [September 10, 2020, 3:37pm UTC](https://discourse.cakephp.org/t/update-from-3-8-13-to-4-0-errors/8364 "2020-09-10T15:37:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jhogarth](https://avatars.discourse-cdn.com/v4/letter/j/d6d6ee/32.png) [@jhogarth](https://discourse.cakephp.org/u/jhogarth)\
**Post date:** [September 10, 2020, 3:37pm UTC](https://discourse.cakephp.org/t/update-from-3-8-13-to-4-0-errors/8364/1 "2020-09-10T15:37:11Z")

</div>

I’m following the 4.0 Migration Guide steps to move an application from 3.18.13 to 4.\*.

This command, composer require --update-with-dependencies “cakephp/cakephp:4.0.\*”  
failed with the following errors:

Problem 1  
- cakephp/bake 1.12.0 requires cakephp/cakephp ^3.8.0 -\> satisfiable by cakephp/cakephp[3.8.0, 3.8.0-RC1, 3.8.0-RC2, 3.8.0-RC3, 3.8.0-beta1, 3.8.1, 3.8.10, 3.8.11, 3.8.12, 3.8.13, 3.8.2, 3.8.3, 3.8.4, 3.8.5, 3.8.6, 3.8.7, 3.8.8, 3.8.9, 3.9.0, 3.9.0-RC1, 3.9.0-RC2, 3.9.1, 3.9.2, 3.x-dev] but these conflict with your requirements or minimum-stability.  
- cakephp/bake 1.12.0 requires cakephp/cakephp ^3.8.0 -\> satisfiable by cakephp/cakephp[3.8.0, 3.8.0-RC1, 3.8.0-RC2, 3.8.0-RC3, 3.8.0-beta1, 3.8.1, 3.8.10, 3.8.11, 3.8.12, 3.8.13, 3.8.2, 3.8.3, 3.8.4, 3.8.5, 3.8.6, 3.8.7, 3.8.8, 3.8.9, 3.9.0, 3.9.0-RC1, 3.9.0-RC2, 3.9.1, 3.9.2, 3.x-dev] but these conflict with your requirements or minimum-stability.  
- cakephp/bake 1.12.0 requires cakephp/cakephp ^3.8.0 -\> satisfiable by cakephp/cakephp[3.8.0, 3.8.0-RC1, 3.8.0-RC2, 3.8.0-RC3, 3.8.0-beta1, 3.8.1, 3.8.10, 3.8.11, 3.8.12, 3.8.13, 3.8.2, 3.8.3, 3.8.4, 3.8.5, 3.8.6, 3.8.7, 3.8.8, 3.8.9, 3.9.0, 3.9.0-RC1, 3.9.0-RC2, 3.9.1, 3.9.2, 3.x-dev] but these conflict with your requirements or minimum-stability.  
- Installation request for cakephp/bake (locked at 1.12.0, required as ^1.9.0) -\> satisfiable by cakephp/bake[1.12.0].

How do I resolve this?

Thanks

---

<div class="post-metadata">

**Author:** ![ADmad](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/admad/32/20_2.png) [@ADmad](https://discourse.cakephp.org/u/ADmad)\
**Post date:** [September 12, 2020, 7:22am UTC](https://discourse.cakephp.org/t/update-from-3-8-13-to-4-0-errors/8364/2 "2020-09-12T07:22:47Z")

</div>

You can first update `composer.json` with dependency versions as seen in [https://github.com/cakephp/app/blob/master/composer.json](https://github.com/cakephp/app/blob/master/composer.json) and then run `composer update --with-dependencies`.
