When trying to instal the module on my Drupal website I was getting the following error:

Twig Components requires specific libraries to be installed in /libraries.

Even though I had already ran the copyfiles.sh file and the libraries existed.

When checking the twig_components.install code against the copied libraries, I noticed the '/libraries/webcomponentsjs/webcomponents-sd-ce.js' path didn't exist. The correct path to webcomponents-sd-ce.js is '/libraries/webcomponentsjs/bundles/webcomponents-sd-ce.js'.

I could fix the issue by copying the webcomponents-sd-ce.js file to '/libraries/webcomponentsjs'.

Comments

ozzyn created an issue.