facebook / react-native

A framework for building native applications using React
https://reactnative.dev
MIT License
119.46k stars 24.37k forks source link

transform.forEach is not a function #13765

Closed hanih closed 6 years ago

hanih commented 7 years ago

I got the following error in the simulator when running a newly created project without updating react native cli:

transform.forEach is not a function

I had node version 4.7.1. The problem happens on both iOS and Android I updated node to latest version and updated RN cli and created a new app and it worked fine but the one created before still gives the same error even after deleting and reinstalling node modules using npm install