Fresh AEM Forms SP 6.5.13 installation with "ERROR - This language feature is only supported for ECMASCRIPT6 mode or better: let declaration." in error.log | Community
Skip to main content
New Participant
June 16, 2022
Solved

Fresh AEM Forms SP 6.5.13 installation with "ERROR - This language feature is only supported for ECMASCRIPT6 mode or better: let declaration." in error.log

  • June 16, 2022
  • 1 reply
  • 1654 views

Hi All, 

 

With a fresh AEM Forms SP 6.5.13 install using Java 11 on Windows, I am getting a lot of "ERROR - This language feature is only supported for ECMASCRIPT6 mode or better: let declaration." in error.log with out-of-the-box client library.

 

What can I do to prevent the errors from happening?  I've tried clearing cache and recompiling all client libraries but nothing worked.  The compilation errors from the Client Library Manager minimization is bit concerning as the work I am doing is part of a corporate wide server rollout.

 

One of the error example: 

 

16.06.2022 16:16:25.277 *ERROR* [[0:0:0:0:0:0:0:1] [1655417784728] GET /libs/fd/flamingo/clientlibs/flamingodialog.min.js HTTP/1.1] com.google.javascript.jscomp /libs/fd/flamingo/clientlibs/flamingodialog/js/flamingodialog.js:158: ERROR - This language feature is only supported for ECMASCRIPT6 mode or better: let declaration.
let propName;
^

 

The instance was installed with following steps with the latest Oracle Java 11 downloaded from Adobe file share:

1.  java -jar <AEM Quickstart Jar>-p4502.jar -unpack

2.  java -jar <AEM Quickstart Jar>-p4502.jar -r author,nosamplecontent -gui

3.  Deploy SP 6.5.13 and SP 6.5.13 Forms-Addon 

4.  Shutdown the instance with "Ctrl+C" after confirm installation completed in error.log 

5.  java -jar <AEM Quickstart Jar>-p4502.jar -r author,nosamplecontent -gui

6.  Observes error.log to confirm there are no major issues. 

 

Expected:

at 6.  error.log are mostly clean except during service pack and upgrade deployment 

 

Actual:

at 6.  various client library compilation errors occurred in the error.log. 

 

Thanks in advance for all the answers and/or hints.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

SantoshSai
New Participant
June 16, 2022
LYUANAuthor
New Participant
June 17, 2022

Hi @santoshsai,

 

Good reference.  Thanks a lot!

 

It seems the failing code is coming from OOTB AEM SP 6.5.13.  Is there a way to tweak the Client Library Manager with a compiler that works with ECMASCRIPT6+?

 

Thanks again,

Scott Yuan

SantoshSai
SantoshSaiAccepted solution
New Participant
June 17, 2022