美文网首页
记一次 VUE 升级失败

记一次 VUE 升级失败

作者: pzzzzzzzzz | 来源:发表于2020-06-11 13:39 被阅读0次

    在家里机器上面升级VUE一直报错 

    30709 verbose stack Error: EEXIST: file already exists, cmd shim 'C:\Users\Administrator\AppData\Roaming\npm\node_modules\@vue\cli\bin\vue.js' -> 'C:\Users\Administrator\AppData\Roaming\npm\vue'

    30709 verbose stack    at simulateEEXIST (C:\Program Files\nodejs\node_modules\npm\node_modules\gentle-fs\lib\bin-link.js:87:15)

    30709 verbose stack    at C:\Program Files\nodejs\node_modules\npm\node_modules\gentle-fs\lib\bin-link.js:78:17

    30709 verbose stack    at C:\Program Files\nodejs\node_modules\npm\node_modules\read-cmd-shim\index.js:51:29

    30709 verbose stack    at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\graceful-fs.js:115:16

    30709 verbose stack    at FSReqCallback.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:63:3)

    30710 verbose cwd D:\xuniji\gitee\weather_admin

    30711 verbose Windows_NT 10.0.17763

    30712 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "i" "-g" "@vue/cli"

    30713 verbose node v12.16.1

    30714 verbose npm  v6.13.4

    30715 error code EEXIST

    30716 error path C:\Users\Administrator\AppData\Roaming\npm\node_modules\@vue\cli\bin\vue.js

    30717 error dest C:\Users\Administrator\AppData\Roaming\npm\vue

    30718 error EEXIST: file already exists, cmd shim 'C:\Users\Administrator\AppData\Roaming\npm\node_modules\@vue\cli\bin\vue.js' -> 'C:\Users\Administrator\AppData\Roaming\npm\vue'

    30719 error File exists: C:\Users\Administrator\AppData\Roaming\npm\vue

    30720 error Remove the existing file and try again, or run npm

    30721 error with --force to overwrite files recklessly.

    30722 verbose exit [ 1, true ]

    根据提示   我去  C:\Users\Administrator\AppData\Roaming\npm 下面全部删掉  就可以正常安装了

    相关文章

      网友评论

          本文标题:记一次 VUE 升级失败

          本文链接:https://www.haomeiwen.com/subject/wwqgthtx.html