-
-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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
Uncaught TypeError: Cannot read property 'Consumer' of undefined #3765
Comments
I'm having the same problem. |
刚刚试了试,安装上的 react-router-dom 为 4.4.0 |
Same issue. Like the react-router-dom has published 4.4.0 First, delete the symbol '^' of |
Any updates on this issue? :) |
I met the same problem |
solved following @ RootAnt |
i met the same problem today:) |
@kurisLei me too |
You can try to reduce the "react-route-dom" version in the package configuration file to below 4.4.0. |
完了 跑不起来了 Consumer |
参考 sorrycc/blog#82 ,别写死版本。。 |
Problem solved! Thanks a lot. |
尝试使用 ant-design-pro,按照教程clone下来后,安装后启动,页面loading闪现一下之后一直白屏。打开console,显示错误:
Uncaught TypeError: Cannot read property 'Consumer' of undefined
本机环境:
Mac pro:10.14.3
node:8.11.3
npm:5.6.0
运行结果与错误如下:
The text was updated successfully, but these errors were encountered: