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

SSR: Cannot read property 'ConnectedRouter' of undefined #5080

Closed
blackboxo opened this issue Jul 23, 2020 · 0 comments
Closed

SSR: Cannot read property 'ConnectedRouter' of undefined #5080

blackboxo opened this issue Jul 23, 2020 · 0 comments
Assignees
Labels
type(ssr) UmiJS SSR

Comments

@blackboxo
Copy link

blackboxo commented Jul 23, 2020

What happens?

使用 SSR 时,服务端 node 运行 js 文件报错,Cannot read property 'ConnectedRouter' of undefined
出现在 umi.server.js 的 o.routerRedux.ConnectedRouter;

Mini Showcase Repository(REQUIRED)

Provide a mini GitHub repository which can reproduce the issue. Use yarn create @umijs/umi-app then upload to your GitHub

How To Reproduce

Steps to reproduce the behavior: 1. 2.

Expected behavior 1. 2.

Context

  • Umi Version: umi-server v1.2.3
  • Node Version: v8.11.3
  • Platform: Centos6.8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type(ssr) UmiJS SSR
Projects
None yet
Development

No branches or pull requests

3 participants