Fatal error upon removing Emulsify dependency

Created on 17 May 2019, over 5 years ago
Updated 28 June 2024, 5 months ago

TLDR; The docs say we can drop emulsify composer dependency, but does not include the necessary instruction to then require components and unified-twig-extensions

Problem/Motivation

In the documentation, under In a Composer-based Drupal install (recommended), it states:

Note: Once you've created your custom theme, you can remove Emulsify as a dependency of your project. If you'd like to get updates as we push them, solely for educational/best-practice information, feel free to leave it in and receive the updates. Updating Emulsify will not affect your custom theme in any way.

This is not currently true. Doing so produces the following error:

Fatal error: require(): Failed opening required '/app/web/modules/contrib/components/src/Template/Loader/ComponentLibraryLoader.php' (include_path='/app/vendor/pear/archive_tar:/app/vendor/pear/console_getopt:/app/vendor/pear/pear-core-minimal/src:/app/vendor/pear/pear_exception:.:/usr/local/lib/php') in /app/vendor/symfony/class-loader/ApcClassLoader.php on line 112

Proposed resolution

Modify the note to include the necessary step of requiring drupal/components and drupal-pattern-lab/unified-twig-extensions.

Remaining tasks

-[ ] Update Wiki
-[ ] Update Readme
-[ ] Update Drupal.org module description

πŸ› Bug report
Status

Closed: won't fix

Version

3.1

Component

Documentation

Created by

πŸ‡ΊπŸ‡ΈUnited States jcandan

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