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.

Can't install @nuxtjs/composition-api anymore

See original GitHub issue

I can’t install the composition api package anymore on fresh nuxt projects.

I’ve just created a new blank nuxt project with npm init nuxt-app my-project-name and and immediately after I installed @nuxtjs/composition-api using npm and following the steps in the docs.

I get the following error:

Vue packages version mismatch:
  
  - vue@2.6.14
  - vue-server-renderer@2.7.1
  
  This may cause things to work incorrectly. Make sure to use the same version for both.

Schermata 2022-07-04 alle 16 00 16

  • OS: MacOs Monteray 12.4
  • node -v v16.15.1
  • npm -v 8.11.0

Can somebody help please?

Matteo

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:10 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
ThinkingAboutcommented, Jul 7, 2022

@Jozaguts thanks but same error 😦 @bobbyadamski solution is still the only one that works for me.

1reaction
ThinkingAboutcommented, Jul 6, 2022

@bobbyadamski with 2.6.14 I was able to run the project again. @danielroe I tried with 2.7 but same error occured, am I doing something wrong?

https://stackblitz.com/edit/github-4nyzv3-zdknmq?file=package.json

Thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

Nuxt 3 won't run after importing composition api module
I just started a fresh project with Nuxt 3. Installed only Sass and tailwind packages, everything worked fine. Then I added composition-api ......
Read more >
Migrate to Bridge: Composition API - Nuxt
First, remove the plugin where you are manually registering the Composition API. Nuxt Bridge will handle this for you.
Read more >
@nuxtjs/composition-api - npm
Composition API hooks for Nuxt. Latest version: 0.33.1, last published: 5 months ago. Start using @nuxtjs/composition-api in your project by ...
Read more >
Nuxt.js and the Composition API - Alexander Lichter - YouTube
Nuxt. js and the Composition API - Alexander Lichter - vueday 2021Vue 3 and the Composition API are ... Your browser can't play...
Read more >
Exploring Nuxt 3 and Composition API - YouTube
Vue 3 Stable release is out and most libraries are moving to vue 3, Nuxt 3 is also based on Vue 3. With...
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