Describe the bug
Using latest vite, vue-router and vuex with transition gives:
TypeError: Cannot read property '_leaveCb' of null
Maybe it is a vue-router bug or I am doing something wrong.
Some help please.
Reproduction
https://codesandbox.io/s/fancy-shadow-04mrv?file=/package.json
System Info
- required
vite version: 1.0.0-beta.8
- required Operating System: Windows 10 LTSC
- required Node version: 14.4.0
- Optional:
- npm/yarn version:
6.14.5 / 1.22.4
- Installed
vue version (from yarn.lock or package-lock.json)
3.0.0-beta.16
- Installed
@vue/compiler-sfc version
^3.0.0-beta.16
- Run
vite or vite build with the --debug flag.
vite v1.0.0-beta.8
vite:config env mode: development +0ms
vite:config env: {} +2ms
vite:optimize Hash is consistent. Skipping. Use --force to override. +0ms
Port 3000 is in use, trying another one...
vite:optimize Hash is consistent. Skipping. Use --force to override. +105ms
Dev server running at:
> Network: http://10.0.1.3:3001/
> Local: http://localhost:3001/
vite:server server ready in 351ms. +0ms
vite v1.0.0-beta.8
vite:config env mode: production +0ms
vite:config env: {} +1ms
Building for production...
[write] dist\_assets\index.2ffa22c9.js 74.65kb, brotli: 25.24kb
[write] dist\_assets\style.3b64d8ed.css 0.23kb, brotli: 0.09kb
[write] dist\index.html 0.66kb, brotli: 0.27kb
Build completed in 3.67s.
- Provide the error log here.
TypeError: Cannot read property '_leaveCb' of null
at Object.beforeEnter (https://04mrv.sse.codesandbox.io/@modules/vue.js:5176:33)
at mountElement (https://04mrv.sse.codesandbox.io/@modules/vue.js:4020:28)
at processElement (https://04mrv.sse.codesandbox.io/@modules/vue.js:3967:13)
at patch (https://04mrv.sse.codesandbox.io/@modules/vue.js:3880:21)
at componentEffect (https://04mrv.sse.codesandbox.io/@modules/vue.js:4343:21)
at reactiveEffect (https://04mrv.sse.codesandbox.io/@modules/vue.js:295:24)
at effect (https://04mrv.sse.codesandbox.io/@modules/vue.js:270:9)
at setupRenderEffect (https://04mrv.sse.codesandbox.io/@modules/vue.js:4309:27)
at mountComponent (https://04mrv.sse.codesandbox.io/@modules/vue.js:4267:9)
at processComponent (https://04mrv.sse.codesandbox.io/@modules/vue.js:4223:17)
Describe the bug
Using latest vite, vue-router and vuex with transition gives:
Maybe it is a vue-router bug or I am doing something wrong.
Some help please.
Reproduction
https://codesandbox.io/s/fancy-shadow-04mrv?file=/package.json
System Info
viteversion: 1.0.0-beta.86.14.5 / 1.22.4
vueversion (fromyarn.lockorpackage-lock.json)3.0.0-beta.16
@vue/compiler-sfcversion^3.0.0-beta.16
viteorvite buildwith the--debugflag.