npm ERR! Fix the upstream dependency conflict, or retry

ERESOLVEnpm@7有关的问题很常见,因为npm7.x对某些事情比npm6.x更严格。

1.--legacy-peer-deps标志传递给npm,   npm i --legacy-peer-deps

2.使用npx指定npm的版本。例如:npx -p npm@6 npm i --legacy-peer-deps

你可能感兴趣的:(vue)