Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

t.at is not a function. (In 't.at(-1)', 't.at' is undefined) #1518

Open
aleksandr-shevchenko-0 opened this issue Nov 11, 2024 · 3 comments
Open

Comments

@aleksandr-shevchenko-0
Copy link

aleksandr-shevchenko-0 commented Nov 11, 2024

Hello!
We are using posthog-js 1.164.3.
Started catching the error:

TypeError: t.at is not a function. (In 't.at(-1)', 't.at' is undefined)
  at ? (webpack://@fundraiseup/dashboard/../../node_modules/posthog-js/dist/module.js:1:36824)
  at stringify([native code])
  at wn(webpack://@fundraiseup/dashboard/../../node_modules/posthog-js/dist/module.js:1:36764)
  at onRRwebEmit(webpack://@fundraiseup/dashboard/../../node_modules/posthog-js/dist/module.js:1:62930)
  at headMetaVerification(webpack://@fundraiseup/dashboard/../../node_modules/posthog-js/dist/module.js:1:60800)
  at node(../node_modules/.pnpm/[email protected]_patch_hash=x52pllmg6k5suqkcoa7bdybazq/node_modules/rrweb/dist/rrweb.js:1:1)
  at apply(../node_modules/.pnpm/[email protected]_patch_hash=x52pllmg6k5suqkcoa7bdybazq/node_modules/rrweb/dist/rrweb.js:1:1)
  at i(webpack://@fundraiseup/dashboard/../../node_modules/@sentry/browser/esm/helpers.js:90:17)
image

Is it a bug? Which browser versions are supported by posthog-js?

@pauldambra
Copy link
Member

hey, what version of posthog-js is that using?

you can see our browser support in the package.json

https://github.com/PostHog/posthog-js/blob/main/package.json#L125-L127

@pauldambra
Copy link
Member

Do you still get the error if you update to latest?

@aleksandr-shevchenko-0
Copy link
Author

Hey, @pauldambra!
Thanks for your answer!

We've updated to the latest version, but since we can't reproduce the bug ourselves, we'll follow the results in Sentry.

I will report on the result

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants