The site is broken with error log "Twig_Error_Loader: "themes/emulsify/images/svg/search.svg" is not defined"

Created on 14 March 2019, almost 6 years ago
Updated 28 June 2024, 6 months ago

I have installed emulsify as standalone tool and it is running properly but when i try to put this into drupal as theme it shows website encountered error despite being installed.
The steps I followed for theming emulsify in drupal are as follows:

1. I had copied properly working emulsify folder and pasted in "themes/contrib" of drupal.
2. I had runned the following commands :
1. composer require fourkitchens/emulsify from drupal root
2. drush en emulsify components unified_twig_ext -y
3. from the theme folder i had runned npm install and npm start and it is working properly .
But when looked into the website,the teme is installed and set as default but website encounterd error and the recent log message had the following error : Twig_Error_Loader: Template "themes/emulsify/images/svg/search.svg" is not defined in "themes/emulsify/vendor/drupal/core/profiles/demo_umami/themes/umami/templates/components/search/block--search-form-block.html.twig"

3.i had tried the same way without copying the emulsify folder from outside, but it ended with the same issue.

4.I had tried one more way and the steps are as follows:
1. composer require fourkitchens/emulsify
2. cd themes/contrib/emulsify
3. php emulsify.php "orange"(custom theme "orange" was created in themes/custom/)
4. cd themes/custom/orange/
5. npm install
6. drush en orange components unified_twig_ext -y

then it shows the home page but it was broken.

🐛 Bug report
Status

Closed: won't fix

Version

3.0

Component

User interface

Created by

🇮🇳India Rahul777

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇺🇸United States callinmullaney

    The 8.x-3.x version of Emulsify (patternLab) has been unsupported for a long time and has since been moved to Storybook. Due to the age of the issue and the recent upgrade to 5.x for this namespace I'll be closing this issue.

Production build 0.71.5 2024