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 :
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.
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.