AEM Cloud -com.adobe.granite.clientlibs.compiler.gcc.impl.GCCLogErrorManager -JSC_LANGUAGE_FEATURE -Only supported for ECMASCRIPT_2020 mode or better: Optional chaining.
Hi All,
I am getting errors in the build pipeline which are not actually functionality breaking the functionality on the site but are more of nuisance errors in the AEM Cloud pipeline-
com.adobe.granite.clientlibs.compiler.gcc.impl.GCCLogErrorManager - apps/myProject/clientlibs/clientlib-aspot-slick.min.js:7:47: ERROR - [JSC_LANGUAGE_FEATURE] This language feature is only supported for ECMASCRIPT_2020 mode or better: Optional chaining.
There are many more such places where this error gets raised up. But this is just the pipeline validation I believe.
On the AEM instance the aspot slick min js is working and loading perfectly fine.
Why do these errors then come up in the pipeline and how to get rid of them?
BR,
Nagesh