Skip to content

getActivePinia was called with no active Pinia. Did you forget to install pinia? #971

Closed Answered by scambier
bjorntj asked this question in Help and Questions
Discussion options

You must be logged in to vote

@bjorntj did you solve this error?

Ok, it's most likely because you're calling useAuthStore() from outside a component's setup, and it's called before Pinia is setup. #664 (comment)

Replies: 12 comments 28 replies

Comment options

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

@ShuvobrotoBiswas
Comment options

@AndrianD
Comment options

Answer selected by posva
Comment options

You must be logged in to vote
7 replies
@xiaoliuxuesheng
Comment options

@zhoufanglu
Comment options

@maicWorkGithub
Comment options

@arm5472
Comment options

@ilovepixelart
Comment options

Comment options

You must be logged in to vote
8 replies
@Sharmacs8853
Comment options

@marihemori
Comment options

@SantiPorres
Comment options

@wawanneutron
Comment options

@PeterPilley
Comment options

Comment options

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

@piroozjenabi
Comment options

@ccosse
Comment options

Comment options

You must be logged in to vote
5 replies
@dxphilo
Comment options

@amycai-arcadis
Comment options

@amycai-arcadis
Comment options

@dxphilo
Comment options

@franciscobaca
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@DreiBelle
Comment options

Comment options

You must be logged in to vote
1 reply
@svenhue
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Converted from issue

This discussion was converted from issue #970 on January 18, 2022 21:02.