基于vite搭建的uniapp项目 使用yarn\npm指令等 都装不了ui的?
PS D:\work\saas-md-ui> yarn add @tuniao/tnui-vue3-uniapp @tuniao/tn-icon @tuniao/tn-style
yarn add v1.22.19
warning package.json: No license field
warning saas-md-ui@0.0.1: No license field
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning "@dcloudio/uni-app > @dcloudio/uni-cloud > @dcloudio/uni-cli-shared > autoprefixer@10.4.14" has unmet peer dependency "postcss@^8.1.0".
warning "@dcloudio/uni-app > @dcloudio/uni-cloud > @dcloudio/uni-cli-shared > postcss-import@14.1.0" has unmet peer dependency "postcss@^8.0.0".
warning "@dcloudio/uni-app > @dcloudio/uni-cloud > @dcloudio/uni-cli-shared > postcss-modules@4.3.1" has unmet peer dependency "postcss@^8.0.0".
warning "@dcloudio/uni-app > @dcloudio/uni-cloud > @dcloudio/uni-cli-shared > postcss-modules > postcss-modules-extract-imports@3.0.0" has unmet peer dependency "postcss@^8.1.0".
warning "@dcloudio/uni-app > @dcloudio/uni-cloud > @dcloudio/uni-cli-shared > postcss-modules > postcss-modules-local-by-default@4.0.3" has unmet peer dependency "postcss@^8.1.0".
warning "@dcloudio/uni-app > @dcloudio/uni-cloud > @dcloudio/uni-cli-shared > postcss-modules > postcss-modules-scope@3.0.0" has unmet peer dependency "postcss@^8.1.0".
warning "@dcloudio/uni-app > @dcloudio/uni-cloud > @dcloudio/uni-cli-shared > postcss-modules > postcss-modules-values@4.0.0" has unmet peer dependency "postcss@^8.1.0".
warning "@dcloudio/uni-app > @dcloudio/uni-cloud > @dcloudio/uni-cli-shared > postcss-modules > postcss-modules-local-by-default > icss-utils@5.1.0" has unmet peer dependency "postcss@^8.1.0".
warning " > @dcloudio/uni-automator@3.0.0-3080720230703001" has unmet peer dependency "jest@27.0.4".
warning " > @dcloudio/uni-automator@3.0.0-3080720230703001" has unmet peer dependency "jest-environment-node@27.5.1".
warning "@uni-helper/uni-app-types > vue3 > @vue/server-renderer@3.3.4" has incorrect peer dependency "vue@3.3.4".
warning " > sass-loader@10.4.1" has unmet peer dependency "webpack@^4.36.0 || ^5.0.0".
warning " > vue-loader@14.2.4" has unmet peer dependency "css-loader@*".
warning " > vue-loader@14.2.4" has unmet peer dependency "vue-template-compiler@^2.0.0".
warning " > @tuniao/tnui-vue3-uniapp@1.0.11" has incorrect peer dependency "typescript@^5.1.6".
error An unexpected error occurred: "expected hoisted manifest for \"@tuniao/tnui-vue3-uniapp#vue#@vue/server-renderer#@vue/compiler-ssr\"".
1 个回复
Chalead (作者) - Chalead
按照上面提示安装更新下依赖就可以装了~~