clarity icon indicating copy to clipboard operation
clarity copied to clipboard

TypeError: Cannot read properties of undefined (reading 'unshift')

Open michalzaq12 opened this issue 2 years ago • 9 comments

Hello, Sentry caught an error: Cannot read properties of undefined (reading 'unshift') Error source: https://www.clarity.ms/tag/djczkq878a image

This only happens to some users.

michalzaq12 avatar May 25 '23 07:05 michalzaq12

Any updates ?

michalzaq12 avatar Aug 21 '23 06:08 michalzaq12

hi, Have you tried this?

I ran into the same problem and came across https://stackoverflow.com/questions/72210974/microsoft-clarity-not-working-with-next-js-react-js-project. The cause is very simple, but a trap. id="clarity" breaks the library. Try to change it into id="ms_clarity" or whatever.

https://github.com/microsoft/clarity/issues/247#issuecomment-1259421430

byeol4001 avatar Oct 19 '23 10:10 byeol4001

I have the same problem, it's annoying

deizianens avatar Jan 04 '24 20:01 deizianens

CleanShot 2024-01-22 at 16 22 45@2x

have same issue

cain avatar Jan 22 '24 05:01 cain

Keeps crashing as well when navigating (in Angular app)

Edge error

Uncaught TypeError: Cannot read properties of undefined (reading 'unshift')

Firefox error

Uncaught TypeError: a[c].q is undefined

BojanKogoj avatar Feb 06 '24 12:02 BojanKogoj

I'm also having similar error in Rails when navigating between different layouts

adiakritos avatar May 06 '24 14:05 adiakritos

Same problem here ... Do you have any update on this issue ?

Best regards.

Bruneau-Pierre avatar Jun 17 '24 13:06 Bruneau-Pierre

Also now encountering this issue, any way to mitigate? Assuming no if this has been open for 15 months.

daniel-submittable avatar Jul 15 '24 15:07 daniel-submittable