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

后端 未结 6 653

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

    How about reinstalling the node module? Go to the root directory of the project and remove the current node modules and install again.

    These are the commands : rm -rf node_modules npm install

    OR

    npm uninstall -g react-native-cli and

    npm install -g react-native-cli
    

提交回复
热议问题