-
Notifications
You must be signed in to change notification settings - Fork 100
Can't install @nuxtjs/composition-api anymore #644
Comments
It looks like that the problem also occurs in previous projects by deleting the package-lock file and running npm install again. |
Hi, Am I the only one experiencing the problem? The issue for me is highly replicable on different systems (os and node versions), just by installing the @nuxtjs/composition-api package in a nuxt starter project. |
I have The Same Problem too :( |
This is an issue with your specific package manager and lockfile situation, and on every Vue upgrade there are often mismatches which people need to resolve by updating their lockfiles and/or explicitly installing the right version of Vue packages. But it is not an issue with Here's an example working fine with the latest Nuxt 2.15.8 and Composition API: https://stackblitz.com/edit/github-4nyzv3. |
Hi @danielroe,
https://stackblitz.com/edit/github-4nyzv3-zdknmq?file=pages%2Findex.vue Thanks |
By forcing vue version to 2.6.14 temporary fixt the issue https://stackblitz.com/edit/github-4nyzv3-cmdcxr?file=package.json |
@bobbyadamski with 2.6.14 I was able to run the project again. https://stackblitz.com/edit/github-4nyzv3-zdknmq?file=package.json Thanks |
I had the same problem, and I was "fix it" with:
Delete
run npm install and now I have this message
|
@Jozaguts thanks but same error :( |
I have the exact same issue as @ThinkingAbout, however, I'm unable to force the dependencies and their versions lower. |
BREAKING CHANGE: Some of the API and behaviour differ between Vue 2.7 and `@vue/composition-api`. In addition, there are some composition utilites that are no longer exported from `@nuxtjs/composition-api`, such as `defineAsyncComponent`, `warn`, etc. Please read https://blog.vuejs.org/posts/vue-2-7-naruto.html for the announcement and more information. resolves #644, resolves #643, resolves #593, resolves #19
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:
Can somebody help please?
Matteo
The text was updated successfully, but these errors were encountered: