Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Local AEM instance (Start page) suddenly rendering strangely

Avatar

Level 5

My local Start page is rendering like this (see screenshot below). It seemed to have happened after pulling from master, creating new local branch, and checking out local branch, which is something I do routinely. Any ideas on what happened and what I could check? These are the errors I'm getting:

Refused to apply style from 'http://localhost:4502/etc.clientlibs/clientlibs/granite/coralui3.min.css' because its MIME type ('') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
start.html:1 Refused to execute script from 'http://localhost:4502/etc.clientlibs/clientlibs/granite/typekit.min.js' because its MIME type ('') is not executable, and strict MIME type checking is enabled.
utils.min.4a192b590a2c2926fb000264370c0588.js:5 Uncaught ReferenceError: jQuery is not defined
at utils.min.4a192b590a2c2926fb000264370c0588.js:5:151
at utils.min.4a192b590a2c2926fb000264370c0588.js:5:160
(anonymous) @ utils.min.4a192b590a2c2926fb000264370c0588.js:5
(anonymous) @ utils.min.4a192b590a2c2926fb000264370c0588.js:5
granite.min.543d214c88dfa6f4a3233b630c82d875.js:2 Uncaught ReferenceError: jQuery is not defined
at granite.min.543d214c88dfa6f4a3233b630c82d875.js:2:94
(anonymous) @ granite.min.543d214c88dfa6f4a3233b630c82d875.js:2
start.html:1 Refused to execute script from 'http://localhost:4502/etc.clientlibs/clientlibs/granite/moment.min.js' because its MIME type ('') is not executable, and strict MIME type checking is enabled.
start.html:1 Refused to execute script from 'http://localhost:4502/etc.clientlibs/clientlibs/granite/coralui3.min.js' because its MIME type ('') is not executable, and strict MIME type checking is enabled.
start.html:1 Refused to execute script from 'http://localhost:4502/etc.clientlibs/granite/ui/components/coral/foundation/components/clientlibs/co...' because its MIME type ('') is not executable, and strict MIME type checking is enabled.
start.html:1 Refused to execute script from 'http://localhost:4502/etc.clientlibs/clientlibs/granite/history.min.js' because its MIME type ('') is not executable, and strict MIME type checking is enabled.
start.html:21 GET http://localhost:4502/libs/granite/ui/components/shell/clientlibs/shell.min.js net::ERR_ABORTED 404 (Not Found)
start.html:1 Refused to execute script from 'http://localhost:4502/etc.clientlibs/granite/ui/components/coral/foundation/clientlibs/foundation.mi...' because its MIME type ('') is not executable, and strict MIME type checking is enabled.
start.html:1 Refused to execute script from 'http://localhost:4502/libs/granite/ui/components/shell/clientlibs/shell.min.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.

 

Codelime_1-1673565939985.png

 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
1 Reply

Avatar

Correct answer by
Community Advisor

@Codelime Did you check the permissions? also you can try clientlib rebuild- http://localhost:4502/libs/granite/ui/content/dumplibs.rebuild.html?invalidate=true