2020. 7. 27. 23:29 DEV ENVIRONMENT
윈도우 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


vue-cli 설치시 오류 발생

 

node.js 설치 후 환경변수 설정

 

npm install -g @vue/cli

댓글을 달아 주세요

최근에 올라온 글

최근에 달린 댓글