Extension type library is unknown.

Created on 2 September 2025, about 1 month ago

When updating to 2.0.2, the following error is thrown:

[Drupal\Core\Extension\Exception\UnknownExtensionTypeException]  
  Extension type library is unknown. 

This is due to line 50 in file_browser_requirements of file_browser.install

  if (\Drupal::moduleHandler()->moduleExists('libraries')) {
    $imagesloaded_path = \Drupal::service('extension.path.resolver')->getPath('library', 'imagesloaded') . '/imagesloaded.pkgd.min.js';
    $masonry_path = \Drupal::service('extension.path.resolver')->getPath('library', 'masonry') . '/dist/masonry.pkgd.min.js';
  }

Specifically, the getPath('library' call

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States daniel.moberly

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024