Reputation: 958
Problem:
I have create react native application. There I am using react-native-maps. When bundle is building it laves this error on the console.
Unable to resolve "./lib/components/MapHeatmap.js" from "node_modules\react-native-maps\index.js"
I look for a solution but I was unable to do so. And I have not any clue for what should do for this error.Thank you
Upvotes: 0
Views: 4239
Reputation: 49
in cli project run this command on your project npm cache clean --force then reinstall the node module ...... then npm install
Upvotes: 0
Reputation: 152
I was also facing the same issue in react native (expo)
For me clearing the cache worked...
just type this command
expo start -c
Upvotes: 2
Reputation: 23
i had the same error just now, try sudo npm uninstall react-native-maps
and install it again with expo comand (if you are using expo).
Upvotes: 2