Can't install @nuxtjs/composition-api anymore
See original GitHub issueI 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.
- OS: MacOs Monteray 12.4
- node -v v16.15.1
- npm -v 8.11.0
Can somebody help please?
Matteo
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:10 (1 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@Jozaguts thanks but same error 😦 @bobbyadamski solution is still the only one that works for me.
@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