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

Crash on Vercel app #59

Open
dev-andremonteiro opened this issue Nov 29, 2023 · 0 comments
Open

Crash on Vercel app #59

dev-andremonteiro opened this issue Nov 29, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@dev-andremonteiro
Copy link

Versions

"plausible-tracker": "^0.3.8"

Describe the bug

After deployment with a vercel app, the hole app crashes and I get the error in the logs:

Unhandled Promise Rejection 	{"errorType":"Runtime.UnhandledPromiseRejection","errorMessage":"TypeError: PTracker is not a function","reason":{"errorType":"TypeError","errorMessage":"PTracker is not a function","stack":["TypeError: PTracker is not a function","    at file:///var/task/vercel/path0/dist/chunks/pages/index_187a88b5.mjs:247:19","    at ModuleJob.run (node:internal/modules/esm/module_job:194:25)"]},"promise":{},"stack":["Runtime.UnhandledPromiseRejection: TypeError: PTracker is not a function","    at process.<anonymous> (file:///var/runtime/index.mjs:1276:17)","    at process.emit (node:events:529:35)","    at process.emit (node:domain:489:12)","    at emit (node:internal/process/promises:149:20)","    at processPromiseRejections (node:internal/process/promises:283:27)","    at process.processTicksAndRejections (node:internal/process/task_queues:96:32)"]}

Any idea of the reason we are getting this error ?

@dev-andremonteiro dev-andremonteiro added the bug Something isn't working label Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant