安装vue3.0以上版本出错的解决办法,找到对应的目录删除重新安装即可!

npm ERR! code EEXIST
npm ERR! path D:\Users\Administrator\AppData\Roaming\npm\node_modules@vue\cli\[email protected]@apollo\node_modules@oclif\command\node_modules.bin\semver.ps1
npm ERR! Refusing to delete D:\Users\Administrator\AppData\Roaming\npm\node_modules@vue\cli\[email protected]@apollo\node_modules@oclif\command\node_modules.bin\semver.ps1: …/…/…/…/[email protected]@semver/bin/semver symlink target is not controlled by npm D:\Users\Administrator\AppData\Roaming\npm\node_modules@vue\cli\[email protected]@apollo\node_modules@oclif\command\node_modules\semver
npm ERR! File exists: D:\Users\Administrator\AppData\Roaming\npm\node_modules@vue\cli\[email protected]@apollo\node_modules@oclif\command\node_modules.bin\semver.ps1
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! D:\Users\Administrator\AppData\Roaming\npm-cache_logs\2020-06-09T12_21_56_992Z-debug.log

你可能感兴趣的:(安装vue3.0以上版本出错的解决办法,找到对应的目录删除重新安装即可!)