element-plus-vite-starter icon indicating copy to clipboard operation
element-plus-vite-starter copied to clipboard

there is a Unmet peer dependencies error

Open basonwoo opened this issue 2 years ago β€’ 0 comments

node: v16.16.0 pnpm: v7.5.2 description: when i run pnpm install, there is a error

ERR_PNPM_PEER_DEP_ISSUES  Unmet peer dependencies

.
└─┬ vite-ssg
  β”œβ”€β”€ βœ• missing peer @vueuse/head@"^0.5.0 || ^0.6.0 || ^0.7.0"
  └── βœ• missing peer vue-router@^4.0.1
Peer dependencies that should be installed:
  @vueuse/head@"^0.5.0 || ^0.6.0 || ^0.7.0"  vue-router@^4.0.1

i found add auto-install-peers=true into .npmrc could avoid that

basonwoo avatar Jul 19 '22 07:07 basonwoo