# Cannot install Plugin - even after correcting composer.json

**URL:** https://forum.shopware.com/t/cannot-install-plugin-even-after-correcting-composer-json/104063
**Category:** Shopware 6 (German)
**Created:** [17. Mai 2024 um 12:40 UTC](https://forum.shopware.com/t/cannot-install-plugin-even-after-correcting-composer-json/104063 "2024-05-17T12:40:10Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![FragenAnsForum](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/fragenansforum/32/7849_2.png) [@FragenAnsForum](https://forum.shopware.com/u/FragenAnsForum)
#### Post date: [17. Mai 2024 um 12:40 UTC](https://forum.shopware.com/t/cannot-install-plugin-even-after-correcting-composer-json/104063/1 "2024-05-17T12:40:10Z")

</div>

In [Plugin Base Guide | Shopware Documentation](https://developer.shopware.com/docs/v6.3/guides/plugins/plugins/plugin-base-guide.html)

the „composer.jsonon“ „require“: {  
„shopware/core“: „6.3.\*“  
},

- even after correcting from „6.3.\*“ to „~6.6.0“ (and of course: composer.json) I cannot install the plugin. php bin/console plugin:install --activate Test works, but in the Backend I get „Failed Dependency“. I’ve cleared the cache. What is the reason? I run dockware:dev\latest

 ![2024-05-17 14_37_18-Shopware Administration and 4 more pages - Work - Microsoft​ Edge](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/3X/b/1/b1aaf38df92d8d721870821378c7405beab84873.png)

---

<div class="post-metadata">

### Author: ![Moorleiche](https://avatars.discourse-cdn.com/v4/letter/m/6f9a4e/32.png) [@Moorleiche](https://forum.shopware.com/u/Moorleiche)
#### Post date: [17. Mai 2024 um 15:33 UTC](https://forum.shopware.com/t/cannot-install-plugin-even-after-correcting-composer-json/104063/2 "2024-05-17T15:33:44Z")

</div>

What if you remove the require at all? Did you also clear the cache of the shop? Did You checked the composer.json in the shop root directory?

---

<div class="post-metadata">

### Author: ![FragenAnsForum](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/fragenansforum/32/7849_2.png) [@FragenAnsForum](https://forum.shopware.com/u/FragenAnsForum)
#### Post date: [22. Mai 2024 um 08:32 UTC](https://forum.shopware.com/t/cannot-install-plugin-even-after-correcting-composer-json/104063/3 "2024-05-22T08:32:33Z")

</div>

I…did not think of removing „require“. Should work! I cleared the cache.

Unfortunately I had to rebuild the whole container - docker cp does not suffice.

---

<div class="post-metadata">

### Author: ![Moorleiche](https://avatars.discourse-cdn.com/v4/letter/m/6f9a4e/32.png) [@Moorleiche](https://forum.shopware.com/u/Moorleiche)
#### Post date: [22. Mai 2024 um 11:42 UTC](https://forum.shopware.com/t/cannot-install-plugin-even-after-correcting-composer-json/104063/4 "2024-05-22T11:42:45Z")

</div>

You need to find out, where the plugin is requiring Shopware 6.3. If you change to 6.6.0, clear the cache, then anywhere else its requiring 6.3…
