Mixpanel error: "mixpanel" object not initialized

JavascriptMixpanel

Javascript Problem Overview


I am getting the below error.

I am using Angular - I have not imported a mix panel library - if I do a search I cannot find this.

Why am I getting this error/how can get rid of it?

> Mixpanel error: "mixpanel" object not initialized. Ensure you are > using the latest version of the Mixpanel JS Library along with the > snippet we provide.

Javascript Solutions


Solution 1 - Javascript

If you are not using mixpanel in your code, you should check whether it is one of your extensions.

In my case it was the PageRuler extension and started happening only today.

Solution 2 - Javascript

Check your extensions, for me it was 'Page Ruler'

["https://chrome.google.com/webstore/detail/page-ruler/jlpkojjdgbllmedoapgfodplfhcbnbpn?hl=nl"] that caused this error.

Disable all extensions until the error does not occur anymore.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionPepperView Question on Stackoverflow
Solution 1 - JavascriptFernando BessaView Answer on Stackoverflow
Solution 2 - JavascriptMr. HKView Answer on Stackoverflow