本机undefined不是函数symbol.iterator

问题描述 投票:-1回答:1

我运行反应原生项目时出错。它在几个小时前工作,然后我从应用程序退出并再次运行,我收到此错误。 enter image description here

react-native
1个回答
1
投票

我有同样的问题,所以我将@ babel / polyfill添加到我的项目中:

npm install --save-dev @ babel / polyfill

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

要求( “@巴别/填充工具”);

© www.soinside.com 2019 - 2024. All rights reserved.