3

New to react-native & I'm trying to launch the default app but I'm getting the following error.

error: bundling failed: "Cannot find entry file index.ios.js in any of the roots:

Tried doing react-native start --reset-cache but no luck. also been searching GitHub forums but no luck. thanks for all the help. currently on version 0.49. please help

1

1 Answer 1

1

Make sure you kill the package manager completely, then try running these in your projects root directory:

npm start -- --reset-cache
react-native run-ios

If you use watchman, this is an alternative set of steps beforehand that seems to work with a lot of people:

watchman watch-del-all
rm -rf node_modules && npm install
npm start -- --reset-cache
react-native run-ios
Sign up to request clarification or add additional context in comments.

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.