安装npm install --global vue-cli出现问题
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to “coffeescript” (no hyphen)
npm ERR! code EEXIST
npm ERR! path C:UserslilinAppDataRoaming pmue.cmd
npm ERR! EEXIST: file already exists
npm ERR! File exists: C:UserslilinAppDataRoaming pmue.cmd
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:UserslilinAppDataLocal pm-cache_logs?1-11-13T12_55_58_880Z-debug.log
解决办法:
进入
删除这3个vue
然后重新运行npm install --global vue-cli