Skip to content

HMR error: Cannot access 'useAuthStore' before initialization #1377

Discussion options

You must be logged in to vote

It turns out the App.vue component was being re-rendered entirely or something along those lines due to a badly coded PrimeVue tooltip from my part, that was being injected with app.config.globalProperties.$toast and was causing this issue. Once I commented out this code, things are hot reloading without errors now. Thank you so much and sorry for the inconvencience!

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@Kotoriii
Comment options

@posva
Comment options

@Kotoriii
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by Kotoriii
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants