umi: TypeError: Cannot read property 'ssr' of undefined
What happens?
umi-build-dev版本更新了,但是不兼容旧的umi版本
Plugin apply failed: Cannot read property 'ssr' of undefined
× error TypeError: Cannot read property 'ssr' of undefined
at Array.<anonymous> (D:\Develop\antd-admin\node_modules\umi-build-dev\lib\plugins\afwebpack-config\index.js:76:22)
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 27 (5 by maintainers)
把umi-plugin-react版本降到1.8.4就可以了
我升级到 umijs 2.8.1 用 node v10.15.3 就好了
同样mac 也有问题。npm create umi 现在卡在 Do you want to use typescript? (y/n)后无响应。git clone ant design pro 报错 ssr undefined
windows也报错。。。。