joken-前端工程师

  :: 首页 :: 博问 :: 闪存 :: 新随笔 :: :: :: 管理 ::

@niba is right, you may be using libraries that still use propTypes the old way. What you can do is to delete the node_modules folder and install a package npm install -g npm-check-updates Then run npm-check-updates -u and npm install This will install the latest versions of each package from you. If the warning still persists you can revert to a older version of react till the updates for each package are available– Shubham Khatri Apr 9 at 8:13

posted on 2017-06-20 10:33  joken1310  阅读(647)  评论(0编辑  收藏  举报