Error 500: A composable that requires access to the Nuxt instance
I have this error in my composable that I absolutely don't cromprend given that most of the code is copied and pasted from one of my other projects, if you have any idea what the problem is thank you π

7 Replies
If you need more information, don't hesitate to send me a message!
Unknown Userβ’12mo ago
Message Not Public
Sign In & Join Server To View
thank you for the reply it helps indeed I no longer have the 500 only a few hydration errors however I don't understand why it doesn't work on this app and very well on the other one

Unknown Userβ’12mo ago
Message Not Public
Sign In & Join Server To View
I don't even know if this is the best way to keep my user connected to the app at refresh actually π€
Unknown Userβ’12mo ago
Message Not Public
Sign In & Join Server To View
Yes, I do have middleware for that. I've been using this system for a long time for my authentications, but I never really asked myself if it was the best way to do it!