Unable to bundle js scripts for react-native. Metro bundler has suddenly started to fail in showing this error. I removed node_modules and ran npm i and still get this error.
2 Answers
You need to delete both ios,android and node module folder. Run the following commands
> npm install //to get the node module folder
> react-native upgrade //to get android and ios folder
> react-native link // for linking the libraries
> react-native run ios/android
1 Comment
Naveen Vignesh
I will able to fix it by adding util v0.10.0 module. I will also try your suggestion.
