photoswipe.min.js not found

Created on 6 February 2024, 5 months ago

Problem/Motivation

I get this error:

Warning: file_get_contents(libraries/photoswipe/dist/photoswipe.min.js): Failed to open stream: No such file or directory in _locale_parse_js_file() (line 1097 of core/modules/locale/locale.module).

_locale_parse_js_file('libraries/photoswipe/dist/photoswipe.min.js') (Line: 530)
locale_js_translate(Array, Object) (Line: 486)
locale_js_alter(Array, Object, Object) (Line: 545)
Drupal\Core\Extension\ModuleHandler->alter('js', Array, Object, Object) (Line: 285)
Drupal\Core\Asset\AssetResolver->getJsAssets(Object, , Object) (Line: 328)
Drupal\Core\Render\HtmlResponseAttachmentsProcessor->processAssetLibraries(Object, Array) (Line: 165)
Drupal\Core\Render\HtmlResponseAttachmentsProcessor->processAttachments(Object) (Line: 97)
Drupal\big_pipe\Render\BigPipeResponseAttachmentsProcessor->processAttachments(Object) (Line: 48)
Drupal\http2_server_push\Render\HtmlResponseAttachmentsProcessor->processAttachments(Object) (Line: 45)
Drupal\Core\EventSubscriber\HtmlResponseSubscriber->onRespond(Object, 'kernel.response', Object)
call_user_func(Array, Object, 'kernel.response', Object) (Line: 111)

i installed library with composer
composer require bower-asset/photoswipe:^5

but inside libraries/photoswipe/dist i have not photoswipe.min.js
Thank you

🐛 Bug report
Status

Postponed: needs info

Version

5.0

Component

Code

Created by

🇮🇹Italy trickfun

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

Comments & Activities

Production build 0.69.0 2024