Closed heyuncoder closed 5 years ago
I'm having the same problem.
刚刚试了试,安装上的 react-router-dom 为 4.4.0 安装了 4.3.1 是可以正常运行的
Same issue. Like the react-router-dom has published 4.4.0
First, delete the symbol '^' of "react-router-dom": "^4.3.1"
from package.json.
Then, remove the package-lock.json
and node_modules/
directory.
Run npm install
again.
Any updates on this issue? :)
I met the same problem
solved following @ RootAnt
i met the same problem today:)
@kurisLei me too
@kurisLei me too
You can try to reduce the "react-route-dom" version in the package configuration file to below 4.4.0.
完了 跑不起来了 Consumer
参考 https://github.com/sorrycc/blog/issues/82 ,别写死版本。。
Same issue. Like the react-router-dom has published 4.4.0
First, delete the symbol '^' of
"react-router-dom": "^4.3.1"
frompackage.json.
Then, remove thepackage-lock.json
andnode_modules/
directory. Runnpm install
again.
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
运行结果与错误如下: