【发布时间】:2022-01-18 14:10:42
【问题描述】:
我的环境:
- OS: Ubuntu 20.04
- Yarn: 3.1.1
- Node: v16.12.0
说明链接:https://cli.vuejs.org/guide/installation.html
当我运行命令时:yarn global add @vue/cli
我得到了错误:
Usage Error: The 'yarn global' commands have been removed in 2.x - consider using 'yarn dlx' or a third-party plugin instead
$ yarn run [--inspect] [--inspect-brk] [-T,--top-level] [-B,--binaries-only] <scriptName> ...
【问题讨论】: