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

[Bug] TypeError: Cannot read properties of undefined (reading 'location') #67

Open
fzz14hao opened this issue Jun 28, 2022 · 0 comments

Comments

@fzz14hao
Copy link

使用了"umi-plugin-keep-alive": "^0.0.1-beta.31"插件,启动项目之后报TypeError: Cannot read properties of undefined (reading 'location') 错误!
使用keep-alive页面才报错
未使用keep-alive页面正常运行

node版本 :
16.13.0
14.15.4
12.18.3
上述node版本都试过

有时重新安装多次依赖本地开发环境页面正常运行,但是打包发布到线也是报TypeError: Cannot read properties of undefined (reading 'location') 错误!

Umi Version: ^3.5.17
Node Version: 16.13.0
Platform: PC

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

1 participant