我的环境:
- 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> ...