Where should Library go using Composer to install module

Created on 15 September 2022, almost 2 years ago
Updated 16 August 2023, 11 months ago

Documentation states download Library Mobile_Detect.php and install with other Library files. I have done this BUT

When using DRUSH to enable the module, I get an error stating that Library is not found where expected and should be:

$ drush pm:enable mobile_detect
 [error]  File not found: /home/cqsaservices/public_html/modules/contrib/mobile_detect/lib/mobiledetect-mobiledetectlib/v2.8.37/Mobile_Detect.php.

Creating this folder structure then allows the module to be enabled. However , this is NOT what is set out in the README file.

Additionally, can you please explain what version of the Library is required with the various Module versions?

v2.8.39 seems to work with module version 3.0.1, BUT NOT with version 3.0.4

I am confused by the documentation. Equally Composer says that it updates the Library folder, but editing the php file, the version does not seem to get updated.

πŸ’¬ Support request
Status

Closed: works as designed

Version

3.0

Component

Documentation

Created by

πŸ‡¬πŸ‡§United Kingdom cebab54

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.

Production build 0.69.0 2024