vueComponent / pro-components

easy use `Ant Design Vue` layout
MIT License
535 stars 214 forks source link

安装报错 #167

Closed 3438722695 closed 2 years ago

3438722695 commented 2 years ago

安装时报错

C:\xxx\xxx\xxx\xxx>yarn add @ant-design-vue/pro-layout@next
yarn add v1.22.17
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning " > less-loader@5.0.0" has unmet peer dependency "webpack@^2.0.0 || ^3.0.0 || ^4.0.0".
error An unexpected error occurred: "expected hoisted manifest for \"@ant-design-vue/pro-layout#vue#@vue/server-renderer#@vue/compiler-ssr\"".
info If you think this is a bug, please open a bug report with the information provided in "C:\\WorkSpace\\Code\\UI\\nainu-ui\\yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

这会是什么原因?

sendya commented 2 years ago

不知道,换 npm 试试?

3438722695 commented 2 years ago

不知道,换 npm 试试?

npm是可以的

3438722695 commented 2 years ago

不知道,换 npm 试试?

这问题有点懵😂

sendya commented 2 years ago

安装依赖的问题,每个人的电脑环境都不同,没办法处理,只能自己多尝试