Leiste mit Community-Erfolgen erweitern.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

Diese Konversation wurde aufgrund von Inaktivität geschlossen. Bitte erstellen Sie einen neuen Post.

GELÖST

OOTB minify with YUI compressor is failing to minify the unminified jquery 3.1.1, fastdom 1.0.5 and babel-polyfill 6.22.0.

Avatar

Level 4

OOTB minify with YUI compressor is failing to minify the unminified jquery 3.1.1, fastdom 1.0.5  and babel-polyfill 6.22.0.

Primarily its having issues with reserved keywords throw, catch etc. 

Any suggestions/pointers would be highly appreciated.

Few traces of the logs...Attached the complete log for reference.

02.03.2017 16:12:15.744 *ERROR* [0:0:0:0:0:0:0:1 [1488489132532] GET /etc/designs/mycompany/assets.min.js HTTP/1.1] com.adobe.granite.ui.clientlibs.impl.JsFileBuilder 
[ERROR] 3873:9:missing name after . operator
02.03.2017 16:12:15.744 *ERROR* [0:0:0:0:0:0:0:1 [1488489132532] GET /etc/designs/mycompany/assets.min.js HTTP/1.1] com.adobe.granite.ui.clientlibs.impl.JsFileBuilder 
[ERROR]         .catch( function( error ) {
02.03.2017 16:12:15.754 *ERROR* [0:0:0:0:0:0:0:1 [1488489132532] GET /etc/designs/mycompany/assets.min.js HTTP/1.1] com.adobe.granite.ui.clientlibs.impl.JsFileBuilder 
[ERROR] 3874:11:syntax error
02.03.2017 16:12:15.754 *ERROR* [0:0:0:0:0:0:0:1 [1488489132532] GET /etc/designs/mycompany/assets.min.js HTTP/1.1] com.adobe.granite.ui.clientlibs.impl.JsFileBuilder 
[ERROR]             jQuery.readyException( error );
02.03.2017 16:12:15.754 *ERROR* [0:0:0:0:0:0:0:1 [1488489132532] GET /etc/designs/mycompany/assets.min.js HTTP/1.1] com.adobe.granite.ui.clientlibs.impl.JsFileBuilder 
[ERROR] 3875:5:missing ; before statement
02.03.2017 16:12:15.755 *ERROR* [0:0:0:0:0:0:0:1 [1488489132532] GET /etc/designs/mycompany/assets.min.js HTTP/1.1] com.adobe.granite.ui.clientlibs.impl.JsFileBuilder 
[ERROR]         } );
02.03.2017 16:12:15.755 *ERROR* [0:0:0:0:0:0:0:1 [1488489132532] GET /etc/designs/mycompany/assets.min.js HTTP/1.1] com.adobe.granite.ui.clientlibs.impl.JsFileBuilder 
[ERROR] 3878:2:missing ) after argument list
02.03.2017 16:12:15.755 *ERROR* [0:0:0:0:0:0:0:1 [1488489132532] GET /etc/designs/mycompany/assets.min.js HTTP/1.1] com.adobe.granite.ui.clientlibs.impl.JsFileBuilder 
[ERROR] };
02.03.2017 16:12:15.767 *ERROR* [0:0:0:0:0:0:0:1 [1488489132532] GET /etc/designs/mycompany/assets.min.js HTTP/1.1] com.adobe.granite.ui.clientlibs.impl.JsFileBuilder 
[ERROR] 8720:27:missing name after . operator
02.03.2017 16:12:15.767 *ERROR* [0:0:0:0:0:0:0:1 [1488489132532] GET /etc/designs/mycompany/assets.min.js HTTP/1.1] com.adobe.granite.ui.clientlibs.impl.JsFileBuilder 
[ERROR]                     if ( conv && s.throws ) {

02.03.2017 16:12:17.105 *ERROR* [0:0:0:0:0:0:0:1 [1488489132532] GET /etc/designs/mycompany/assets.min.js HTTP/1.1] com.adobe.granite.ui.clientlibs.impl.HtmlLibraryManagerImpl Error during assembly of library.
org.mozilla.javascript.EvaluatorException: Compilation produced 75 syntax errors.
    at com.adobe.granite.ui.clientlibs.impl.JsFileBuilder$1.runtimeError(JsFileBuilder.java:108)
    at org.mozilla.javascript.Parser.parse(Parser.java:396)
    at org.mozilla.javascript.Parser.parse(Parser.java:340)
    at com.yahoo.platform.yui.compressor.JavaScriptCompressor.parse(JavaScriptCompressor.java:315)
    at com.yahoo.platform.yui.compressor.JavaScriptCompressor.<init>(JavaScriptCompressor.java:536)
    at com.adobe.granite.ui.clientlibs.impl.JsFileBuilder.minify(JsFileBuilder.java:84)

1 Akzeptierte Lösung

Avatar

Korrekte Antwort von
Level 4

We have reached the Adobe support by logging a day care ticket.

The YUI processor has reached its end of life and no longer supports the minification of the latest JS standards.

They provided the jars and provided the way to enforce the clientlibs with gcc(google closure compiler)

--Durga Nuvvula.

Lösung in ursprünglichem Beitrag anzeigen

2 Antworten

Avatar

Korrekte Antwort von
Level 4

We have reached the Adobe support by logging a day care ticket.

The YUI processor has reached its end of life and no longer supports the minification of the latest JS standards.

They provided the jars and provided the way to enforce the clientlibs with gcc(google closure compiler)

--Durga Nuvvula.

Avatar

Level 2

This could be of help if you want to know the details of implemention.

Change the minification engine for client libraries in AEM