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.
Package dependencies need to be reinstalled:
First: npm install @vue/cli – force
Second (for downgrading): npm install @vue/cli --legacy-peer-deps