윈도우 vue.js 에러 npm ERR! code EEXIST, file already exists, cmd shim
npm ERR! code EEXIST
npm ERR! path C:\Users\kAUdo\AppData\Roaming\npm\node_modules\@vue\cli\bin\vue.js
npm ERR! dest C:\Users\kAUdo\AppData\Roaming\npm\vue
npm ERR! EEXIST: file already exists, cmd shim 'C:\Users\kAUdo\AppData\Roaming\npm\node_modules\@vue\cli\bin\vue.js' -> 'C:\Users\kAUdo\AppData\Roaming\npm\vue'
npm ERR! File exists: C:\Users\kAUdo\AppData\Roaming\npm\vue
npm ERR! Remove the existing file and try again, or run npm
npm ERR! with --force to overwrite files recklessly.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\kAUdo\AppData\Roaming\npm-cache\_logs\2020-07-27T10_53_35_155Z-debug.log
vue-cli설치시 code EEXIST와 같은 오류가 발생하면
1. node.js설치 후 환경설정을 했는지 확인합니다.
2. vue-cli 제거 : npm uninstall -g vue-cli
3. vue-cli 설치 : npm install -g @vue/cli