yarn add --exact react-scripts@2.1.3

yarn add --exact react-scripts@2.1.3


从2.1.2迁移到2.1.3

在任何尚未弹出的已创建项目中,运行:

npm install --save --save-exact react-scripts@2.1.3

要么

yarn add --exact react-scripts@2.1.3
原文地址:https://www.cnblogs.com/msb-/p/10253331.html