# Bin/console theme:compile error

**URL:** <https://forum.shopware.com/t/bin-console-theme-compile-error/95486>\
**Category:** Shopware 6 (English)\
**Created:** [26. Juli 2022 um 18:49 UTC](https://forum.shopware.com/t/bin-console-theme-compile-error/95486 "2022-07-26T18:49:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kravchenkoo14](https://avatars.discourse-cdn.com/v4/letter/k/dbc845/32.png) [@kravchenkoo14](https://forum.shopware.com/u/kravchenkoo14)\
**Post date:** [26. Juli 2022 um 18:49 UTC](https://forum.shopware.com/t/bin-console-theme-compile-error/95486/1 "2022-07-26T18:49:50Z")

</div>

I have error when running bin/console theme:compile  
message: „User Deprecated: Since shopware/core : Class Shopware\Storefront\Event\ThemeCompilerEnrichScssVariablesEvent is deprecated. Use Shopware\Storefront\Theme\Event\ThemeCompilerEnrichScssVariablesEvent instead.“

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/3X/a/c/ac7dd02b6a4599349b474414d2f1a43abef78ae2.png)

---

<div class="post-metadata">

**Author:** ![AlexBS](https://avatars.discourse-cdn.com/v4/letter/a/ed655f/32.png) [@AlexBS](https://forum.shopware.com/u/AlexBS)\
**Post date:** [26. Juli 2022 um 19:56 UTC](https://forum.shopware.com/t/bin-console-theme-compile-error/95486/2 "2022-07-26T19:56:29Z")

</div>

Same here since the new update. But it doesn’t seem to have negative effects. It still compiles my files as usual…

---

<div class="post-metadata">

**Author:** ![Max\_Shop](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@Max\_Shop](https://forum.shopware.com/u/Max_Shop)\
**Post date:** [26. Juli 2022 um 20:17 UTC](https://forum.shopware.com/t/bin-console-theme-compile-error/95486/3 "2022-07-26T20:17:31Z")

</div>

These are Deprecated warnings, no errors.

Guess Shopware will/need to change the code in the referred files.

---

<div class="post-metadata">

**Author:** ![kravchenkoo14](https://avatars.discourse-cdn.com/v4/letter/k/dbc845/32.png) [@kravchenkoo14](https://forum.shopware.com/u/kravchenkoo14)\
**Post date:** [26. Juli 2022 um 22:08 UTC](https://forum.shopware.com/t/bin-console-theme-compile-error/95486/4 "2022-07-26T22:08:08Z")

</div>

[AlexBS](https://forum.shopware.com/u/AlexBS), [Max\_Shop](https://forum.shopware.com/u/Max_Shop)  
Thank you, I was unable to pick my theme inside admin panel, and I thouht that this was because of compiling problems. Now I reinstall and rebuild shopware. Console is the same but now I`m able to pick my theme)
