gpt4 book ai didi

reactjs - npm WARN 已弃用 popper.js@1.16.1 : You can find the new Popper v2 at @popperjs/core, 此软件包专用于旧版 v1

转载 作者:行者123 更新时间:2023-12-02 20:26:12 29 4
gpt4 key购买 nike

当我为现有 React 项目输入命令 npm update 时,会显示以下内容:

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 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

关于reactjs - npm WARN 已弃用 popper.js@1.16.1 : You can find the new Popper v2 at @popperjs/core, 此软件包专用于旧版 v1,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60747771/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com