Thanks for sharing your package.json
. I think the command will work if you delete your node module and reinstall everything because your project might still be using Nuxt 2. You can confirm in the package-lock.
But if you don't want to do that, I would suggest uninstalling anything related to Prismic and then adding the following dependencies:
"devDependencies": {
"@nuxtjs/prismic": "^3.1.1",
"@slicemachine/adapter-nuxt": "^0.3.38",
"nuxt": "^3.11.1",
"slice-machine-ui": "^1.26.0"
}
You can use this command to do that:
npm install --save-dev @nuxtjs/prismic@^3.1.1 @slicemachine/adapter-nuxt@^0.3.38 nuxt@^3.11.1 slice-machine-ui@^1.26.0