How to update core-js to core-js@3 dependency?

后端 未结 6 688

While I was trying to install and setup react native, the precaution observed about the core-js version as update your core-js@... to core-js@3 But don\'t know how to update

6条回答
  •  庸人自扰
    2020-12-24 11:11

    With this

    npm install --save core-js@^3
    

    you now get the error

    "core-js@<3 is no longer maintained and not recommended for usage due to the number of
    issues. Please, upgrade your dependencies to the actual version of core-js@3"
    

    so you might want to instead try

    npm install --save core-js@3
    

    if you're reading this post June 9 2020.

提交回复
热议问题