- Issue created by @bhogue
- Status changed to Closed: works as designed
10 months ago 1:57pm 1 July 2024
Error appears:
[error] Unable to install module 'anchor_link' due to unmet requirement(s):
- Before you can use the Anchor Link module, you need to download the plugin from ckeditor.com and place it in /libraries/link. Check the README.md for more information. <a href="https://ckeditor.com/addon/link">Get the plugin here</a>. (Currently using CKEditor Anchor Link version CKEditor Anchor Link library missing)
[error] Unable to install module 'fakeobjects' due to unmet requirement(s):
- Before you can use the FakeObjects module, you need to download the plugin from ckeditor.com and place it in /libraries/fakeobjects. Check the README.txt for more information. <a href="http://ckeditor.com/addon/fakeobjects">Get the plugin here</a>. (Currently using FakeObjects version Plugin not detected)
It seems like this line in the installation instructions:
composer config --json extra.installer-paths.web\/libraries\/ckeditor5-anchor-drupal '["npm-asset/northernco--ckeditor5-anchor-drupal"]'
should be:
composer config --json extra.installer-paths.web\/libraries\/link '["npm-asset/northernco--ckeditor5-anchor-drupal"]'
That takes care of the first error.
When it comes to the second error (fakeobjects), anchor_link's own composer.json lists it as a dependency in its "require" list. Usually when a module has a dependency, it is automatically downloaded and when you `drush en` the original module, the dependency is installed/enabled with it (provided that you approve that action).
It should be made clear in the instructions whether the user has to also require the fakeobjects module or install it as a library in a similar fashion to "northernco--ckeditor5-anchor-drupal."
Closed: works as designed
2.7
Documentation