76

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.

Paolo Forgia
  • 6,572
  • 8
  • 46
  • 58
Pepper
  • 709
  • 1
  • 7
  • 15
  • 1
    See this question - https://stackoverflow.com/questions/48541556/jsmixpanel-2-latest-min-js9-mixpanel-error-mixpanel-object-not-initialized - it solved it for me. – gavin stanley Feb 06 '18 at 12:03

2 Answers2

175

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.

Fernando Bessa
  • 785
  • 1
  • 4
  • 10
81

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.

Hardik Kalathiya
  • 2,221
  • 1
  • 18
  • 28