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

Uncaught TypeError: Cannot read property 'Consumer' of undefined #1

Open
mosswang opened this issue Mar 16, 2019 · 1 comment
Open
Assignees

Comments

@mosswang
Copy link

mosswang commented Mar 16, 2019

使用yo antd-pro可以构建出一个antd-pro的应用,也可以使用yarn start命令启动成功,但是通过
http://localhost:8000/ 访问有报错,如图:
image

@felixpy
Copy link
Member

felixpy commented Mar 18, 2019

感谢反馈,可以参考一下这个方案,看下是否能够解决问题:ant-design/ant-design-pro#3765

@felixpy felixpy self-assigned this Mar 18, 2019
@felixpy felixpy changed the title yo antd-pro构建出来的项目启动后报错 yo antd-pro 构建出来的项目启动后报错 Mar 18, 2019
@felixpy felixpy changed the title yo antd-pro 构建出来的项目启动后报错 Uncaught TypeError: Cannot read property 'Consumer' of undefined Mar 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants