Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

The requested module 'vue' does not provide an export named 'set' #666

Closed
Verdicts-ye opened this issue Aug 4, 2022 · 2 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@Verdicts-ye
Copy link

🐛 The bug
The requested module 'vue' does not provide an export named 'set'

nuxt3 nuxt.config.ts

export default defineNuxtConfig({
modules: [
"@nuxtjs/composition-api",
'@pinia/nuxt',
],
})

When module exists @nuxtjs/composition-api , this will cause problems

package.json

"devDependencies": {
"nuxt": "3.0.0-rc.6"
},
"dependencies": {
"@nuxtjs/composition-api": "^0.33.1",
"@pinia/nuxt": "^0.3.1",
"axios": "^0.27.2",
"element-plus": "^2.2.12",
"jsonp": "^0.2.1",
"pinia": "^2.0.17",
"sass": "^1.54.2"
}

@Verdicts-ye Verdicts-ye added the bug Something isn't working label Aug 4, 2022
@danielroe
Copy link
Member

This module is only for Nuxt 2. You can safely remove it from your Nuxt 3 project.

@danielroe danielroe closed this as not planned Won't fix, can't repro, duplicate, stale Aug 4, 2022
@Verdicts-ye
Copy link
Author

Verdicts-ye commented Aug 5, 2022 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants