npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree

根据翻译:不能解析依赖树 ,需要先修复上面依赖关系冲突或者重新执行一下npm install命令,后面跟--force或者--legacy-peer-deps去接受不正确的(并可能被破坏的)依赖解析。
解决方法:
根据它的提议,我们去执行npm install --force  或者  npm install --legacy-peer-deps;