我正在使用MacOS High Sierra,
我的npm版本是
6.2.0
我的node.js版本是
v10.6.0
我安装了react-native-cli
react-native-cli@2.0.1
当我这样做
react-native init AwesomeProject
我收到以下警告,
warning "react-native > metro-babel-register >
@babel/plugin-proposal-optional-chaining@7.0.0-beta.47"
has unmet peer dependency "@babel/core@7.0.0-beta.47".
warning "react-native > metro-babel-register >
@babel/plugin-proposal-optional-chaining > @babel/plugin-
syntax-optional-chaining@7.0.0-beta.47" has unmet peer
dependency "@babel/core@7.0.0-beta.47".
warning " > react-native@0.56.0" has unmet peer dependency
"react@16.4.1".