Error During Rebuilding of clientlibs with GCC compiler

karansheel

06-08-2019

Hi,

I have changed JS compressor from "min:yui" to "min:gcc" now while rebuilding clientlibs I'm getting exception for two clientlibraries. Here is list :

1./etc/clientlibs/granite/moment/legacy/moment.min.js

2. /libs/dam/gui/components/s7dam/carousel/editor/clientlibs/editor.min.js

Here is exception

java.io.IOException: Error while reading cached library: javax.jcr.RepositoryException: Error during assembly of /etc/clientlibs/granite/moment/legacy/moment.js

java.io.IOException: Error while reading cached library: javax.jcr.RepositoryException: Error during assembly of /libs/dam/gui/components/s7dam/carousel/editor/clientlibs/editor.js

If I changed it to YUI it doesn't through any error. But I have to use GCC. AEM version is "6.2.0.SP1-CFP4".

My question what is the root cause for these errors. How much it can impact the application i.e for which component these moment.min.js clientlibrary is getting used .

Can you please help.

Accepted Solutions (1)

Accepted Solutions (1)

Vish_dhaliwal

Employee

09-08-2019

Hello,

Sometimes, it fails due to syntax errors. Go to localhost:port/libs/granite/ui/content/dumplibs.rebuild.html, clear cache and rebuild the libraries.  Check if you get more detailed error messages in the logs.

Regards,

Vishu

Answers (0)