vue3 pulls the code install and reports an error npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm E

vue3 pulls the code install and reports an error npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: npm ERR! Found: [email protected]

The error is reported as follows: Mainly because the installed package and the existing package have conflicted versions and are inconsistent.

Insert image description here

Package dependencies need to be reinstalled:

First: npm install @vue/cli – force
Second (for downgrading): npm install @vue/cli --legacy-peer-deps
Insert image description here

as the picture shows:Please add image description

Please add image description

that's it

Guess you like

Origin blog.csdn.net/sinat_52319736/article/details/127213391