TypeError: Cannot read property 'get' of undefined
-
从 GitHub 仓库中直接安装最新的脚手架代码。
git clone --depth=1 https://github.com/vueComponent/ant-design-vue-pro.git my-project
cnpm install
装了下依赖,运行报错啊,信息如下:
-
细看了下报错信息:是我的webpack版本太高了我的版本是5.36.1,最后重装下webpack版本就可以了。人家要2||3||4版本的我的是5啊……
requires a peer of webpack@^2.0.0 || ^3.0.0 || ^4.0.0 but [email protected] was installed
cnpm install [email protected] --save
今天天气真热啊…………放假,忧伤的下午……