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

Emulator not working properly

Avatar

Level 2

Emulator is not working properly and giving error on console while clicking to change desktop to mobile view.

yashashri_0-1666243120414.png

Please suggest me solution . 

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

@yashashri try removing clientlibs

View solution in original post

11 Replies

Avatar

Employee Advisor

@yashashri use a browser level emulator as a workaround

Mayank_Gandhi_0-1666245893258.png

 

Is this happening only with Iphone5? What is the aem version and CFP?

Avatar

Level 2

Yeah, right now I am using same solution to check but we need to fix this issue .
and it is happening for all view.

Avatar

Employee Advisor

@yashashri if it's working on demo pages, see if your  client libs has some conflict

Avatar

Correct answer by
Employee Advisor

@yashashri try removing clientlibs

Avatar

Level 2

I tried again for clientlib for each component one by one and I got issue. Someone made mistake in media query syntax of one component. I fixed that syntax error  and issue got resolved. Thank you so much for your guidance. 

 

Avatar

Employee Advisor

@yashashri happy to help! Good to know that it is resolved now. There are good online tools to proofread the files and missing syntax, visual studio has some good extensions  as well

Avatar

Employee Advisor

Have you checked the emulator on the demo site, if it's giving same error there?