Nuxt SSR — TypeError: Cannot redefine property: $Storage
[issue link]Hi! Thanks for framework!
But I have some bug in dev mode with my custom plugin named “Storage”.
This plugin connect to Vue in file located in plugins folder and create in Vue instance thier namespace — Vue.Storage* & *this.Storage
After twice code & page update/refresh, I have this stack-trace — vue ssr module can’t redefine $Storage:
Vue.js error
TypeError: Cannot redefine property: $Storage
at Object.defineProperties (<anonymous>)
at defineProperties (__vue_ssr_bundle__:2235:18)
at plugin (__vue_ssr_bundle__:2071:91)
at Function.Vue.use (/Users/ruslan/projects/bazawinnerparser/node_modules/vue/dist/vue.runtime.common.js:3437:14)
at Object.<anonymous> (__vue_ssr_bundle__:2022:45)
at __webpack_require__ (__vue_ssr_bundle__:21:30)
at Object.<anonymous> (__vue_ssr_bundle__:1007:1)
at __webpack_require__ (__vue_ssr_bundle__:21:30)
at Object.<anonymous> (__vue_ssr_bundle__:4750:65)
at __webpack_require__ (__vue_ssr_bundle__:21:30)

What this mean?