Last active
August 19, 2020 16:37
-
-
Save wallace7souza/b91df8fef3e18b0341597b9c8164dc65 to your computer and use it in GitHub Desktop.
react native build main.jsbundle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://medium.com/@onexlab.io/main-jsbundle-does-not-exist-fixed-7d92f466ba5a | |
in package.json add | |
"build:ios": "react-native bundle --entry-file='index.js' --bundle-output='./ios/main.jsbundle' --dev=false --platform='ios' | |
"error Unable to resolve module `react-native-webview` from `src/screens/TermoUsoScreenComponent.js`: react-native-webview could not be found within the project. | |
If you are sure the module exists, try these steps: | |
1. Clear watchman watches: watchman watch-del-all | |
2. Delete node_modules: rm -rf node_modules and run yarn install | |
3. Reset Metro's cache: yarn start --reset-cache | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment