Denev
Community Answers
-
Denev's post in Strange error on refresh SvelteKit (only in production) was marked as the answer
Solved! For whoever experiences the same issue, here is the deal. In production you get an error if you register the same plugin in different pages. So what I did is - I imported all the necessary plugins and registered them in the main layout component, so there is no duplication. This solved the issue for me.