"export 'h' (imported as 'Vue') was not found in 'vue'" on several files
See original GitHub issueI implemented uppy as described on the uppy/vue documentation page but without the webcam plugin like this:
<template>
<div>
<dashboard :uppy="uppy" />
</div>
</template>
<script>
import { Dashboard } from '@uppy/vue'
import '@uppy/core/dist/style.css'
import '@uppy/dashboard/dist/style.css'
import Uppy from '@uppy/core'
export default {
components: {
Dashboard
},
computed: {
uppy: () => new Uppy()
},
beforeDestroy () {
this.uppy.close()
}
}
</script>
I use storybook on the project to work on components isolated and everything seems to work fine on the frontend. But the webpack build gives me warnings that vue was not found on several files.
WARNING in ./node_modules/@uppy/vue/lib/dashboard.js 81:11-16
"export 'h' (imported as 'Vue') was not found in 'vue'
WARNING in ./node_modules/@uppy/vue/lib/dashboard-modal.js 96:11-16
"export 'h' (imported as 'Vue') was not found in 'vue'
WARNING in ./node_modules/@uppy/vue/lib/drag-drop.js 76:11-16
"export 'h' (imported as 'Vue') was not found in 'vue'
WARNING in ./node_modules/@uppy/vue/lib/progress-bar.js 73:11-16
"export 'h' (imported as 'Vue') was not found in 'vue'
WARNING in ./node_modules/@uppy/vue/lib/status-bar.js 76:11-16
"export 'h' (imported as 'Vue') was not found in 'vue'
Issue Analytics
- State:
- Created 2 years ago
- Reactions:5
- Comments:17 (9 by maintainers)
Top Results From Across the Web
vue.js - "export 'default' (imported as 'Vue') was not found in 'vue'
The reason this is happening is because in Vue 2, Vue provides a default export export default vue , which allows BootstrapVue to...
Read more >VueJS 3 : "export 'default' (imported as 'Vue') was not found in ...
Im using VueJS 3 and getting this in my terminal: ERROR : "export 'default' (imported as 'Vue') was not found in 'vue' import...
Read more >export 'default' (imported as 'Vue') was not found in 'vue'-Vue.js
The reason this is happening is because in Vue 2, Vue provides a default export export default vue , which allows BootstrapVue to...
Read more >does not provide an export named 'vue' - You.com - You.com
The reason it didn't work is that Vue provides a named export, whereas you are trying to import it as though it had...
Read more >WARN export 'default' (imported as 'Vue') was not found in 'vue'
Now after doing some research , I got to know that in Vue v3, Vue is not getting exported by default, instead now...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@shidcordero @kyrylo93, you guys found a workaround on this?
any update on this? I am getting this warning in my nuxt app