NuxtN
Nuxt15mo ago
Bobbo

Upgrading from 3.5.0 to 3.13.2 is breaking build

I used npx nuxi upgrade, as described by the documentation.

Now when I try to npm run generate, which in my package.json maps to nuxt generate, I get this;
[12:11:37]  ERROR  Nuxt Build Error: node_modules/nuxt/dist/app/composables/id.js (1:9): "useId" is not exported by "node_modules/vue/dist/vue.runtime.esm-bundler.js", imported by "node_modules/nuxt/dist/app/composables/id.js".
file: node_modules/nuxt/dist/app/composables/id.js:1:9

1: import { useId as _useId } from "vue";


I'm not sure what the issue is to fix, though?

Also, the nuxt dependency got moved from dependencies to devDependencies, which would break my deployment process (npm ci --omit=dev && npm run generate).
Was this page helpful?