npm WARN不推荐使用popper.js@1.16.1:您可以在@ popperjs/core上找到新的Popper v2,此软件包专用于旧版v1 [英] npm WARN deprecated popper.js@1.16.1: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1

查看:2453
本文介绍了npm WARN不推荐使用popper.js@1.16.1:您可以在@ popperjs/core上找到新的Popper v2,此软件包专用于旧版v1的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我为现有的React项目放置命令npm update时,将显示:

When I place the command npm update for an existing React project, this is displayed:

npm WARN deprecated popper.js@1.16.1: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

推荐答案

npm WARN不建议使用popper.js@1.16.1:您可以在@ popperjs/core上找到新的Popper v2,此软件包专用于旧版v1

npm WARN deprecated popper.js@1.16.1: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1

运行命令npm uninstall popper.js && npm i @popperjs/core删除不赞成使用的软件包并安装其新的Popper v2

Run the command npm uninstall popper.js && npm i @popperjs/core to remove the deprecated package and install their new Popper v2

这篇关于npm WARN不推荐使用popper.js@1.16.1:您可以在@ popperjs/core上找到新的Popper v2,此软件包专用于旧版v1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆