umami: Client Side exception Error in v2

Suddenly, umami is showing Application error: a client-side exception has occurred (see the browser console for more information).

Using self-hosted umami. Below is the image for the reference.

image

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 6
  • Comments: 18

Most upvoted comments

Hi! I had the same problem today (on all pages) after migrating from 1.40 to 2.0. I use node 20.0.0 and yarn 1.22.19. I managed to fix it by removing all cookies and local storage (from dev tools), so I think the bug comes from stored data.

I’ll let you know if the problem returns 😉

A lot of these issues are related to your Node version. Try updating to the latest version and see if it still errors.

server’s env : ubuntu server, with nodejs 18.16.0 and umami version is 2.1.1 everything is OK after open admin site ,and navigate fine by button on pages. but just only manual refresh full web page by F5 (any page) ,the browser will show js error.

Hi! I had the same problem today (on all pages) after migrating from 1.40 to 2.0. I use node 20.0.0 and yarn 1.22.19. I managed to fix it by removing all cookies and local storage (from dev tools), so I think the bug comes from stored data.

I’ll let you know if the problem returns 😉

Yes it will definitely resolve the issue, but when you reload, the issue persists.