1
I created a default project, includes some images . png in the project in the main folder:
Project - image.png - index.android.js - .....
When running run-android an error is displayed indicating that the image was not located:
"error: bundling failed: "Unable to resolve module
logoimg.png
fromC:\\Users\\Ayala\\Documents\\Developer\\React\\BrunoDantas\\index.android.js
: Module does not exist in the module map n nThis Might be Related to https://github.com/facebook/react-native/issues/4968\nto resolve Try the following: n 1. Clear Watchman watches:watchman watch-del-all
.\n 2. Delete thenode_modules
Folder:rm -rf node_modules && npm install
.\3. Reset packager cache:rm -fr $TMPDIR/react-*
ornpm start -- --reset-cache
."
Someone’s been through this trouble?
You can show the code you tried to insert the image into ?
– Pedro Neri