Skip to content
This repository has been archived by the owner on May 20, 2020. It is now read-only.

koa服务端渲染运行yarn dev报错 #54

Closed
s464446877 opened this issue Dec 9, 2019 · 6 comments
Closed

koa服务端渲染运行yarn dev报错 #54

s464446877 opened this issue Dec 9, 2019 · 6 comments

Comments

@s464446877
Copy link

What happens?

1、下载umi+koa服务端渲染的代码,运行yarn dev报错,终端错误提示/sockjs-node/info activeRoute not found
2、我们这个是否有热更新呢

最小可复现仓库

请使用 yarn create umi 创建,并上传到你的 GitHub 仓库

复现步骤,错误日志以及相关配置

提示错误/sockjs-node/info activeRoute not found

相关环境信息

  • Umi 版本:2.12.3
  • Node 版本:10.16.2
  • 操作系统:macOS
@williamnie
Copy link

你是下载的umi-server项目中的例子跑的,还是你自己重新搭建的项目运行的?

@s464446877
Copy link
Author

下载的例子跑的

@williamnie
Copy link

我这测试是没问题的,切换到和你一样的环境了,可以跑起来

@s464446877
Copy link
Author

我再下一个最新的看看吧,我是上上周下的,近几天我看还在更新,如果dev可以跑起来是可以热更新的是吧

@williamnie
Copy link

查了查你的报错,重新安装下包吧,yarn 一下

@s464446877
Copy link
Author

重新下了,可以了,谢谢

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants