Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

JS Console error on Minification

ArchanaVA
Level 2
Level 2

When try to Minify files under clientlibs using JsProcessor, facing some Console errors and the files are not minified too.

 

Console errors

Uncaught ReferenceError: $jscomp is not defined

because its MIME type ('') is not executable, and strict MIME type checking is enabled.

 

USING AEM 6.4

jsProcessor="[default:none,min:gcc;languageIn=ECMASCRIPT_2015;compilationLevel=whitespace]"

 

 

 

 

1 Accepted Solution
SureshDhulipudi
Correct answer by
Community Advisor
Community Advisor
2 Replies
jbrar
Employee
Employee

I would recommend you to use online gcc compiler and check if there are some issues with the js file.

SureshDhulipudi
Correct answer by
Community Advisor
Community Advisor