Closed MartinX3 closed 2 years ago
What is your Vue version?
According to the package-lock.json
it should be 2.7.4
Would you provide a reproduction?
Oh, yes of course. Here is it: reproducer.zip
I'm getting the same error on nuxi build
actually without having set anything for the params you mentioned, including the flag that triggers that bug for you.
Figured I'd add that to maybe make things easier, though I'm quite new to nuxt as a whole so maybe I messed up somewhere else. It's also warning of "export 'onBeforeUnmount' was not found in 'vue-demi'
which I thought was interesting.
WARNING in ./node_modules/@nuxt/bridge/dist/runtime/composables.mjs 151:4-19
"export 'onBeforeUnmount' was not found in 'vue'
@ ./node_modules/@nuxt/bridge/dist/runtime/index.mjs
@ ./node_modules/@nuxt/bridge/dist/runtime/app.plugin.mjs
@ ./.nuxt/index.js
@ ./.nuxt/server.js
@ multi ./node_modules/@nuxt/components/lib/installComponents.js ./.nuxt/server.js
WARNING in ./node_modules/@vueuse/core/node_modules/@vueuse/shared/index.mjs 823:28-43
"export 'onBeforeUnmount' was not found in 'vue-demi'
@ ./node_modules/@vueuse/core/index.mjs
@ ./node_modules/unplugin/dist/webpack/loaders/transform.js??ref--35-0!./node_modules/unplugin/dist/webpack/loaders/transform.js??ref--37-0!./node_modules/vuetify-loader/lib/loader.js??ref--4!./node_modules/babel-loader/lib??ref--4-0!./node_modules/@nuxt/components/dist/loader.js??ref--2-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/unplugin/dist/webpack/loaders/transform.js??ref--36-0!./components/SearchBar.vue?vue&type=script&lang=js&
@ ./components/SearchBar.vue?vue&type=script&lang=js&
@ ./components/SearchBar.vue
@ ./components/AppBar.vue
@ ./layouts/default.vue
@ ./.nuxt/App.js
@ ./.nuxt/index.js
@ ./.nuxt/server.js
@ multi ./node_modules/@nuxt/components/lib/installComponents.js ./.nuxt/server.js
I found this related to the onBeforeUnmount
warning:
https://github.com/vuejs/vue/issues/12626#issuecomment-1179171109
Thanks - good find!
This is now resolved in vue 2.7.5.
Environment
and
Reproduction
nuxi generate
Describe the bug
missing
.output
folder and a warning in the logs.Additional context
No response
Logs