相关疑难解决方法(0)

消息“npm WARN config global `--global`、`--local` 已弃用。请改用 `--location=global`”

我已经在我的机器上安装了 Node.js,但是当我尝试运行时npm install -g create-reactapp它会显示以下警告:

npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
npm WARN deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.

changed 67 packages, and audited 68 packages in 4s

4 packages are looking for funding
  run `npm fund` for details

2 high severity vulnerabilities

Some issues need review, and may require choosing
a different dependency.

Run `npm audit` for details.
Run Code Online (Sandbox Code Playgroud)

warnings npm reactjs create-react-app

311
推荐指数
9
解决办法
47万
查看次数

标签 统计

create-react-app ×1

npm ×1

reactjs ×1

warnings ×1