April 21, 2020
Estimated Post Reading Time ~

MIME type is not executable and strict MIME type checking is enabled in AEM 6.3 project

Statement: Facing issue with JS in AEM 6.3
Solution:
Alternate Solution:
- It is because the Minify option was enabled on the Author and Publisher instance.
- When I had looked at the Publish server log file I could see the Parser error and thought it could be a minification issue.
- Go to system/console/ConfigMgr
- Search for HTML library Manager and Uncheck the minify option and save the changes.
- Reload the page to do a sanity test.
- That's it!.

Permanent Solution:
- Minify the .js script using the Minify online tool.
- use the minified script in page and save
- Enable the Minify option
- Do the sanity test.


By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.