Composer install does not move plugin to libraries folder.

Created on 19 February 2024, 4 months ago
Updated 23 February 2024, 4 months ago

Problem/Motivation

Do the steps listed on project page (composer, method 1) does not work. I see a lot of issues here related to this, but havent gone through them all. Perhaps just the project page install description needs to be updated?

Gathering patches for dependencies. This might take a minute.
  - Installing drupal/ckeditor (1.0.2): Extracting archive
  - Installing drupal-ckeditor-libraries-group/notification (4.22.1): Extracting archive
  - Installing drupal/notification (1.2.0): Extracting archive
  - Installing drupal/ckwordcount (2.1.0): Extracting archive
  - Installing w8tcha/ckeditor-wordcount-plugin (v1.17.12): Extracting archive
 0/5 [>---------------------------]   0%
 2/5 [===========>----------------]  40%
 4/5 [======================>-----]  80%
 5/5 [============================] 100%
Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead.
Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead.
Package symfony/debug is abandoned, you should avoid using it. Use symfony/error-handler instead.
Package webmozart/path-util is abandoned, you should avoid using it. Use symfony/filesystem instead.
Generating autoload files
105 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> DrupalProject\composer\ScriptHandler::createRequiredFiles
Found 13 security vulnerability advisories affecting 8 packages.
Run composer audit for a full list of advisories.
Using version ^2.1 for drupal/ckwordcount
Using version ^1.17 for w8tcha/ckeditor-wordcount-plugin

But lib file is not moved to libraries folder. As a result:

$ drush en ckwordcount
 [error]  Unable to install module 'ckwordcount' due to unmet requirement(s):
  - You will need the CKEditor plugin for counting words and characters before enabling this module. <a href="http://ckeditor.com/addon/wordcount">Get the plugin here</a>. (Currently using CKEditor Wordcount version Plugin not detected)

 The module install requirements failed. Do you wish to continue? (yes/no) [yes]:
 >

On 1 project where i use this i have a composer script to move the lib to the libraries folder after composer completes. Thought this might have been fixed by now but will go back to that script for now.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Needs review

Version

2.1

Component

Documentation

Created by

🇨🇦Canada liquidcms

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

Comments & Activities

Production build 0.69.0 2024