ERR_PNPM_PEER_DEP_ISSUES  Unmet peer dependencies / missing peer

hint: If you want peer dependencies to be automatically installed, add "auto-install-peers=true" to an .npmrc file at the root of your project.
hint: If you don't want pnpm to fail on peer dependency issues, add "strict-peer-dependencies=false" to an .npmrc file at the root of your project.

在vue项目根目录下新建一个.npmrc文件,填入下方内容即可

auto-install-peers=true

strict-peer-dependencies=false

 

posted @ 2022-06-30 16:47  前方远在端点  阅读(2837)  评论(0编辑  收藏  举报