npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: vue-material-kit@1.2.2 npm ERR! Found: vue@2.6.10 npm ERR! node_modules/vue npm ERR! vue@"2.6.10" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer vue@"^2.6.12" from vue-material-tabs@1.1.2 npm ERR! node_modules/vue-material-tabs npm ERR! vue-material-tabs@"*" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force, or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution. npm ERR! npm ERR! See C:\Users\Seunghui\AppData\Local\npm-cache\eresolve-report.txt for a full report. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Seunghui\AppData\Local\npm-cache\_logs\2022-05-24T04_21_46_305Z-debug-0.log |
대충 패키지 의존관계에 의해 충돌 났다는 에러이다.
npm으로 설치 사이에 "--legacy-peer-deps"을 넣어주니 해결완료 !
$ npm install --legacy-peer-deps --save vue-material-tabs
'프로그래밍공부 > Vue' 카테고리의 다른 글
ES6 (0) | 2022.05.16 |
---|---|
Vue Template Syntax (0) | 2022.05.16 |
Vue.js란 ? (0) | 2022.05.15 |