Open AndrewBogdanovTSS opened 2 years ago
Hi, I don't know if you used auto-import, the last time I reported this error was because there was something wrong with this auto-import
If you use a component library, such as element-plus, and use auto-import, you can check if the component is not imported successfully
@yufanzheng0723 I provided a repo that you can check what exact libs and settings I use.
Any news? I have this error in a fresh cloned project after npm install
`> postinstall
nuxt prepare
Nuxi 3.5.0 6:35:08 PM
ERROR The requested module 'vue' does not provide an export named 'computed' 6:35:09 PM
import { getCurrentInstance, inject, onUnmounted, onDeactivated, onActivated, computed, unref, watchEffect, defineComponent, reactive, h, provide, ref, watch, shallowRef, nextTick } from 'vue'; ^^^^^^^^ SyntaxError: The requested module 'vue' does not provide an export named 'computed' at ModuleJob._instantiate (node:internal/modules/esm/module_job:124:21) at async ModuleJob.run (node:internal/modules/esm/module_job:190:5) `
Try pnpm instead
Is this problem still reproducible?
Describe the bug
The current state of the repo is broken with the error:
Reproduction
https://stackblitz.com/github/antfu/vitesse-nuxt3
System Info
Used Package Manager
pnpm
Validations