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

前端 未结 2 1774
有刺的猬
有刺的猬 2021-01-01 05:12

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         


        
2条回答
  •  庸人自扰
    2021-01-01 05:40

    This isn't necessarily a problem, unless you are wanting to upgrade from the deprecated version.

    If you wish to upgrade, just run npm install @popperjs/core --save and then npm uninstall popper.js --save from within your project directory to install Popper v2 and uninstall the deprecated version.

提交回复
热议问题