Skip to content

Unable to set up the personas web app [dev mode] #2486

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

Open
sansyrox opened this issue May 31, 2025 · 1 comment
Open

Unable to set up the personas web app [dev mode] #2486

sansyrox opened this issue May 31, 2025 · 1 comment

Comments

@sansyrox
Copy link

Describe the bug
I have sourced the credentials and set up an env.local file and I get two errors

Current behavior
Error 1

Error
    at captureStackTrace (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/capture-stack-trace.js:13:23)
    at console.error (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/components/globals/intercept-console-error.js:51:62)
    at getUid (webpack-internal:///(app-pages-browser)/./src/app/page.tsx:276:21)
    at async handleIntegrationClick (webpack-internal:///(app-pages-browser)/./src/app/page.tsx:807:19)

Error 2

Error: Mixpanel error: "Bad HTTP status: 0 "
    at createUnhandledError (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/console-error.js:23:19)
    at handleClientError (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/use-error-handler.js:42:98)
    at console.error (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/components/globals/intercept-console-error.js:53:56)
    at error (webpack-internal:///(app-pages-browser)/./node_modules/mixpanel-browser/dist/mixpanel.module.js:4607:37)
    at MixpanelLib.report_error (webpack-internal:///(app-pages-browser)/./node_modules/mixpanel-browser/dist/mixpanel.module.js:11097:21)
    at req.onreadystatechange (webpack-internal:///(app-pages-browser)/./node_modules/mixpanel-browser/dist/mixpanel.module.js:9690:29)

Expected behavior
No errors. And I should be able to connect it.

Additional context
Add any other context about the problem here.

@mdmohsin7
Copy link
Member

You'll need to add mixpanel key as well to fix this issue. Pls feel free to open a PR updating the readme or making mixpanel optional

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