0

NPM Bundle Error React Native

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 2

2

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
Sign up to request clarification or add additional context in comments.

1 Comment

I will able to fix it by adding util v0.10.0 module. I will also try your suggestion.
0

You can install npm i sha --save and run your project

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.