- Issue created by @hommesreponse
- π¨π¦Canada bbombachini London, ON
I had the same issue and in order to better track dependencies I decided to use the Composer Merge-Plugin, this is being explained on the module's README as well as the main module page and you will require and enable this plugin.
Then you'll add this to your composer.json:
"extra": { "merge-plugin": { "include": [ "docroot/modules/contrib/ckeditor_codemirror/composer.libraries.json" ] } }
And then require the module, this will pull the module's dependencies for you.
- π¨π¦Canada phjou Vancouver π¨π¦ πͺπΊ
I don't get it, should the libraries already been compiled?
I get errors because this file is not found:
/libraries/ckeditor5-source-editing-codemirror/build/source-editing-codemirror.jsBut the library doesn't have the build folder...
https://registry.npmjs.org/@cdubz/ckeditor5-source-editing-codemirror/-/... - πΊπΈUnited States wrd-oaitsd
Yeah, this is happening to me as well. The library folders are present in docroot/libraries, and they were added automatically by composer thanks to the merge plugin, but the status report says the module can't find either of them.
- πΊπΈUnited States JCL324 Portland, OR
Add me to this list. merge-plugin is installed, but even tried to add the libs manually. Nothing seems to work.
- πΊπΈUnited States pbaczewski
None of the above has fixed the issue for me (D10.1.7). However, I notice that in ckeditor_codemirror.libraries.yml it references "/libraries/ckeditor5-source-editing-codemirror/build/source-editing-codemirror.js", however, in libraries/ckeditor5-source-editing-codemirror/build, the file name is sourceeditingcodemirror.js (no hypens.) Is this a mismatch or is it "mapped" somewhere else in the code?
@Comentario#6pbaczewski same problem and also found the same thing as you
- π³π±Netherlands bram.velthoven
i'm facing the same issue here, followed instructions and placed ckeditor5-source-editing-codemirror folder in the libraries folder. But still getting the error on the Status report page
@bram.velthoven You must necessarily use composer for it to work
- π³π±Netherlands bram.velthoven
@Nelo_Drup Thx for the input, but i've already tried that. It seems that it needs a build folder with assosciated files but that is not found in the repository. Does anyone have a better clue of this? Thanks in regards.
@bram.velthoven Hello, you must look for how to use composer merge and I took the following code from the instructions:
"merge-plugin": {
"include": [
"{DOCROOT}/modules/contrib/ckeditor_codemirror/composer.libraries.json"
]
},- Status changed to Needs review
10 months ago 7:27am 13 February 2024 - π³π±Netherlands bram.velthoven
@Nelo_Drup, Thank you. After adding that piece in the extra section of composer i got the packages installed properly.
- Status changed to Closed: works as designed
4 months ago 2:13pm 13 July 2024