Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/react-native/7.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 react native undefined不是函数符号。迭代器_React Native - Fatal编程技术网

React native react native undefined不是函数符号。迭代器

React native react native undefined不是函数符号。迭代器,react-native,React Native,运行react本机项目时出错。 它工作了几个小时之前,然后我退出应用程序,再次运行,我得到了这个错误。 我也有同样的问题,所以我在我的项目中添加了@babel/polyfill: npm安装--保存dev@babel/polyfill 并添加到我的App.js或index.js文件: 要求(“@babel/polyfill”)

运行react本机项目时出错。 它工作了几个小时之前,然后我退出应用程序,再次运行,我得到了这个错误。
我也有同样的问题,所以我在我的项目中添加了@babel/polyfill:

npm安装--保存dev@babel/polyfill

并添加到我的App.js或index.js文件:

要求(“@babel/polyfill”)