I have an issue of installing react-native-community/netinfo, the error is as below : While trying to resolve module @react-native-community/netinfo
from file D:\projectWithMosh\App.js
, the package D:\projectWithMosh\node_modules\@react-native-community\netinfo\package.json
was successfully found. However, this package itself specifies a main
module field that could not be resolved (D:\projectWithMosh\node_modules\@react-native-community\netinfo\src\index.ts
. Indeed, none of these files exist:
Please help me