Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Module 'react' does not exist in the Haste module map

I am trying to do LinkedIn integration in my app. So, I have done as below :

Installed dependency as below :

npm install react-native-linkedin --save;

So, while launching the app, am getting below error :

Failed to load bundle(http://localhost:8081/index.bundle?
platform=ios&dev=true&minify=false)with
error:(Unable to resolve module 'react' from
'mypath/App.js':Module 'react' does not exist
in the Haste module map

What might be the issue ? Thanks.

like image 916
Vishal Zaptech Avatar asked Aug 10 '26 15:08

Vishal Zaptech


1 Answers

Run this command in terminal and try again

npm start -- --reset-cache
like image 150
Jay Thummar Avatar answered Aug 13 '26 11:08

Jay Thummar



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!