mac终端通过vue ui命令启动可视化界面不生效

背景:mac电脑,终端输入vue ui 没效果

刚开始在网上找通过vue ui创建项目的方法,看到要安装vue cli,-g意思是全局安装,命令为

npm install -g @vue/cli

我复制到终端运行,结果报错,报错为:

hfzhang@hfzhangdeMacBook-Pro ~ % npm install -g @vue/cli
npm WARN deprecated [email protected]: The `subscriptions-transport-ws` package is no longer maintained. We recommend you use `graphql-ws` instead. For help migrating Apollo software to `graphql-ws`, see https://www.apollographql.com/docs/apollo-server/data/subscriptions/#switching-from-subscriptions-transport-ws    For general help using `graphql-ws`, see https://github.com/enisdenjo/graphql-ws/blob/master/README.md
npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
npm 

你可能感兴趣的:(vue,vue.js,ui,macos)