question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

@pinia/nuxt latest version gives error

See original GitHub issue

Reproduction

https://github.com/Rigo-m/pinia-issue-repro

Steps to reproduce the behavior

  1. yarn
  2. yarn dev

Expected behavior

Should work

Actual behavior

Throws error because vue composition api is being imported twice

Additional information

Latest node LTS

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:24 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
craigjamesdobsoncommented, Nov 10, 2021

Nice one, thats all working now. Thanks for the fix!

1reaction
posvacommented, Nov 10, 2021

This should be good now! Let me know if you find issues by opening a new issue with a boiled down repro.

Refer to https://github.com/piniajs for examples with the proper configurations

Read more comments on GitHub >

github_iconTop Results From Across the Web

pinia/nuxt latest version gives error · Issue #767 - GitHub
This issue is with Nuxt 2 only. It's due to changes with composition-api, vue-demi, and the nuxt module. Note I have multiple examples...
Read more >
Cannot load Pinia in Nuxt3 - Stack Overflow
Started with an active nuxt3 project; ran npm install @pinia/nuxt; this failed, with a dependency error, so re-ran with npm install @pinia/ ...
Read more >
Nuxt.js - Pinia
Using Pinia with Nuxt.js is easier since Nuxt takes care of a lot of things when it comes to server side rendering. For...
Read more >
@pinia/nuxt - npm
Nuxt Module for pinia. Latest version: 0.4.6, last published: a month ago. Start using @pinia/nuxt in your project by running `npm i ...
Read more >
Nuxt 3 Server Routes CRUD w/ MongoDB - YouTube
Source Code: https://github.com/BayBreezy/ nuxt -3-server-apiIn this ... w/ MongoDB | TailwindCSS | HeadlessUI | Pinia | Vue 3 Easy Datatable.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found