老师vue咋都安装不上啊
来源:1-1 导学(必看,课程新用户建议从“一期”开始学习)

webFE
2019-11-25
dingyousi@DESKTOP-O0DOLNR MINGW64 /d/myFolderDirectory/github/imooc/vuejselmapp
$ npm install -g @vue/cli
npm WARN deprecated core-js@2.6.10: core-js@<3.0 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your depende ncies to the actual version of core-js@3.
npm WARN deprecated fsevents@1.2.9: One of your dependencies needs to upgrade to fsevents v2: 1) Proper nodejs v10+ support 2) No more fetching binaries from AW S, smaller package size
D:\soft\nodejs\node_global\vue -> D:\soft\nodejs\node_global\node_modules@vue\c li\bin\vue.js
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules@vu e\cli\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@ 1.2.9: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“win32”,“arch”:“x64”} )
- @vue/cli@4.0.5
updated 1 package in 37.213s
dingyousi@DESKTOP-O0DOLNR MINGW64 /d/myFolderDirectory/github/imooc/vuejselmapp
$ vue --version
bash: vue: command not found
2回答
-
你这个是环境变量问题,貌似是装到了 D:\soft\nodejs\node_global\vue 这里,但这个目录是在环境变量里吗?
022019-11-28 -
webFE
提问者
2019-11-28
老师这是路径,你说我将D:\soft\nodejs\node_global\vue添加到系统变量然后重启电脑就行吗
00
相似问题
回答 1
回答 2