Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

slice Error after build with webpack #15

Open
afonso opened this issue Aug 14, 2017 · 1 comment
Open

slice Error after build with webpack #15

afonso opened this issue Aug 14, 2017 · 1 comment
Assignees

Comments

@afonso
Copy link

afonso commented Aug 14, 2017

When i change the components inside the wrapper i got this warning.
While in dev mode i dont get this warning, only after build.

[Vue warn]: Error in beforeDestroy hook: "TypeError: Cannot read property 'splice' of undefined"

found in

---> <VBar> at node_modules/v-bar/src/components/v-bar.vue
       <Forms> at src/components/forms/Entry.vue
         <Forms> at src/views/Forms.vue
           <App> at src/components/App.vue
             <Root>

TypeError: Cannot read property 'splice' of undefined
    at removeResizeListener (index.js:154)
    at VueComponent.beforeDestroy (eval at ./node_modules/babel-loader/lib/index.js?{"cacheDirectory":true,"babelrc":true}!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./node_modules/v-bar/src/components/v-bar.vue (forms-bundle.chunk.js:12), <anonymous>:175:84)
    at callHook (vue.runtime.esm.js:2662)
    at VueComponent.Vue.$destroy (vue.runtime.esm.js:2451)
    at destroy (vue.runtime.esm.js:3543)
    at invokeDestroyHook (vue.runtime.esm.js:5271)
    at invokeDestroyHook (vue.runtime.esm.js:5276)
    at VueComponent.patch [as __patch__] (vue.runtime.esm.js:5557)
    at VueComponent.Vue.$destroy (vue.runtime.esm.js:2474)
    at destroy (vue.runtime.esm.js:3543)

Any ideia?

@JessicaDevelon
Copy link

Hello, same error but in both dev mode and build. Any idea? Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants