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.
Solved! Go to Solution.
Views
Replies
Total Likes
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
Views
Replies
Total Likes
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
Views
Replies
Total Likes
Even after invalidating the cache on http://localhost:4502/libs/granite/ui/content/dumplibs.rebuild.html?back=true, up on rebuilding, I am facing the following errors.
I am rebuilding this because, my instance start page icons are not loading.
Views
Replies
Total Likes
I had same issue. I updated AEM minify config to use gcc instead of yui and it worked
i.e
1. go to /system/console/configMgr
2. find Adobe Granite HTML Library Manager and open the config
3. update the value of JS Processor Default Configs to min:gcc and save the config