Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nuxt3 - Cannot set properties of undefined (setting 'pinia') #1449

Closed
aligzl opened this issue Jul 12, 2022 · 2 comments · Fixed by #1435
Closed

Nuxt3 - Cannot set properties of undefined (setting 'pinia') #1449

aligzl opened this issue Jul 12, 2022 · 2 comments · Fixed by #1435
Labels
⛰ pkg:nuxt Related to @pinia/nuxt

Comments

@aligzl
Copy link

aligzl commented Jul 12, 2022

Reproduction

https://stackblitz.com/edit/github-1xxy9u

Steps to reproduce the bug

[warn] [nuxt] You are using a plugin with legacy Nuxt 2 format (context, inject) which is likely to be broken. In the future they will be ignored: PiniaNuxtPlugin

Expected behavior

Works as expected

Actual behavior

Can not start nuxt3 project

Additional information

No response

@posva
Copy link
Member

posva commented Jul 13, 2022

There are some changes in the latest Nuxt 3 versions tha break the pinia plugin. Should be fixed once #1435 is ready and merged

@posva posva added the ⛰ pkg:nuxt Related to @pinia/nuxt label Jul 13, 2022
@posva posva linked a pull request Jul 13, 2022 that will close this issue
2 tasks
@jkirkpatrick
Copy link

Problem regressed with Nuxt3-RC6 (using Pinia 2.0.16 / @pinia/nuxt 0.1.9)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⛰ pkg:nuxt Related to @pinia/nuxt
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants