uni-app-template icon indicating copy to clipboard operation
uni-app-template copied to clipboard

pnpm

Open Smecta opened this issue 2 years ago • 2 comments

pnpm install 提示出错 部分提示 `

  • vitest 0.16.0

 WARN  Issues with peer dependencies found . └─┬ @dcloudio/uni-automator 3.0.0-alpha-3050020220623004 └─┬ @dcloudio/uni-cli-shared 3.0.0-alpha-3050020220623004 ├─┬ autoprefixer 10.4.7 │ └── ✕ missing peer postcss@^8.1.0 ├─┬ postcss-import 14.1.0 │ └── ✕ missing peer postcss@^8.0.0 ├─┬ postcss-load-config 3.1.4 │ └── ✕ missing peer postcss@>=8.0.9 └─┬ postcss-modules 4.3.1 ├── ✕ missing peer postcss@^8.0.0 ├─┬ postcss-modules-extract-imports 3.0.0 │ └── ✕ missing peer postcss@^8.1.0 ├─┬ postcss-modules-local-by-default 4.0.0 │ ├── ✕ missing peer postcss@^8.1.0 │ └─┬ icss-utils 5.1.0 │ └── ✕ missing peer postcss@^8.1.0 ├─┬ postcss-modules-scope 3.0.0 │ └── ✕ missing peer postcss@^8.1.0 └─┬ postcss-modules-values 4.0.0 └── ✕ missing peer postcss@^8.1.0 Peer dependencies that should be installed: postcss@">=8.1.0 <9.0.0"

The integrity of 5303 files was checked. This might have caused installation to take longer. Done in 7.7s `

Smecta avatar Mar 30 '23 01:03 Smecta

这个应该不是报错,就是 检测到peerDependence 不存在的警告信息

可以通过配置隐藏这部分提示

详见 pnpm 文档 => https://pnpm.io/zh/7.x/npmrc#peer-dependency-%E8%AE%BE%E7%BD%AE

ATQQ avatar Mar 30 '23 02:03 ATQQ

启动应用是否正常进行呢?

ATQQ avatar Mar 30 '23 02:03 ATQQ