-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
@pinia/nuxt 0.7.0 error with fresh Nuxt project #2822
Comments
I tested locally with pnpm and it works fine. Let's track this at #2820 |
I'm having the same issue, also with Downgrading to #2820 seems to happen already with |
On my end, I actually have Looking at your research output in #2820 (comment), I tried adding the alias in |
Got exactly the same issue today with Nuxt 3.13.2. Just ran
Downgrading to 0.6.1 didn't help. Downgrading to 0.5.5 gave the error:
|
I can confirm using pnpm fixed the issue for me with |
I had the same error, I also use npm. This solved it for me: // package.json // nuxt.config.ts Then delete node_modules and package-lock.json. |
Added just this part of jonathanunai's suggestion and was able to start the Nuxt Welcome app. Now to try it on my development applications. |
Issue appearing on Nuxt 3.14.159. Did we get a definite answer on the root cause?
|
I managed to make it work after the following two steps:
The --force flag is important, otherwise, it will output ERESOLVE errors ("Could not resolve dependency: pinia@"*" from the root project", "Conflicting peer dependency: [email protected]") I don't want to switch to pnpm just for Pinia because I'm using Docker containers. |
Thx, u just saved my day ! |
This works for me. Thanks. |
Had the same issue, this solution worked for me too on a Mac, thank you |
Thanks, worked. |
Reproduction
https://codesandbox.io/p/devbox/lt39mc
Steps to reproduce the bug
npx nuxi@latest init
npx nuxi module add pinia
npm run dev
Expected behavior
The "Welcome to Nuxt!" page should appear.
Actual behavior
Additional information
Since Nuxt 3.14 is very new, I tried switching to 3.13 but that didn't help. Earlier versions are incompatibles due to 3dab0a6.
Switching to
@pinia/nuxt
@^0.5.5
fixed the issue.The text was updated successfully, but these errors were encountered: