Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/flutter/10.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
React native “错误”;取消CoaleAcingOperator“;isn';t当前已启用_React Native - Fatal编程技术网

React native “错误”;取消CoaleAcingOperator“;isn';t当前已启用

React native “错误”;取消CoaleAcingOperator“;isn';t当前已启用,react-native,React Native,当我试图在iOS模拟器上构建我的应用程序时,它说: 错误:(syntaxerror:/Users/shubhamb/Downloads/Code/node_modules/react_native/Libraries/Components/StatusBar/StatusBar.js: 不支持实验语法“nullishCoalescingOperator” 当前已启用) 我还在babel.rc中添加了插件,请详细说明您的问题,并与我们分享您迄今为止的尝试。当我运行命令react native ru

当我试图在iOS模拟器上构建我的应用程序时,它说:

错误:(syntaxerror:/Users/shubhamb/Downloads/Code/node_modules/react_native/Libraries/Components/StatusBar/StatusBar.js: 不支持实验语法“nullishCoalescingOperator” 当前已启用)


我还在
babel.rc

中添加了插件,请详细说明您的问题,并与我们分享您迄今为止的尝试。当我运行命令react native run ios时,构建成功,但一旦应用程序在ios模拟器上启动,就会显示上述错误。我已经在babelrc中添加了“@babel/plugin建议nullish合并操作符”