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
TypeError: Cannot read properties of null (reading '0') in product mode #10771
Comments
Please provide a minimal reproduction. Edit |
+1 |
+1 本地环境没问题,线上环境会出现这个问题 |
please stop comment the +1, it does not help solve the problem. |
+1 |
+1 生产有问题,路由跳转的时候报错 |
请提供可以运行的复现代码。 |
+1 |
@edison1105 there you go https://github.com/Disservin/vue-10771-reproduction (click on about) |
This comment was marked as duplicate.
This comment was marked as duplicate.
+1 |
@Disservin Thanks. related commit e51ca61 |
这是 3.4.24这个版本的bug,导致只在生产环境出问题。修改使用的vue到历史版本,重新构建项目可以避免这问题。 |
hhh真巧了,一天之内正好撞上这个issue的出现和修复 |
我查了两天程序,一直到现在才知道这里的问题,宝贵的时间啊!。。。郁闷。。。。 |
+1 |
thanks |
Vue version
3.4.24
Link to minimal reproduction
none
Steps to reproduce
I use a wrapper component for router-view
and everything is ok in dev mode, but got error after build and deploy to product server:
index-D_lnheNN.js:14 TypeError: Cannot read properties of null (reading '0')
and it's fine after I downgrade to 3..4.23
What is expected?
no error in both dev and product mode
What is actually happening?
TypeError: Cannot read properties of null (reading '0')
System Info
No response
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: