cnpm i -g vue @vue/cli 安裝過程,35個中第32個安裝報錯,但安裝完后vue -V命令正常,不知道項目開發過程中是否會有影響?
安裝完后,可以正常得到版本號:但安裝過程有錯誤:
PS C:\myFolder\WEBFrontEnd\codeTest\toDoListDemo> vue -V
@vue/cli 4.5.11
---------
[32/35] vue-codemod@^0.0.4 installed at node_modules\[email protected]@vue-codemod
[email protected] download from binary mirror: {"host":"https://cdn.npm.taobao.org/dist/fsevents"}
platform unsupported @vue/[email protected] ? [email protected] ? [email protected] ? [email protected] ? fsevents@^1.2.7 Package require os(darwin) not compatible with your platform(win32)
[fsevents@^1.2.7] optional install error: Package require os(darwin) not compatible with your platform(win32)
[npminstall:runscript] scripts.preinstall @vue/[email protected] ? [email protected] ? [email protected] ? @oclif/[email protected] ? yarn@^1.21.1? ":; (node ./preinstall.js > /dev/null 2>&1 || true)", root: "C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\@vue\\cli\\node_modules\\[email protected]@yarn"
---------
我的電腦系統是win64位的,不知道為什么會提示not compatible with your platform(win32)
煩請解析,洗耳恭聽,非常感謝!
2021-03-15
看一下能不能正常創建項目,如果不能,就重新輸入命令再次安裝,如果可以創建項目,就不需理會。