Trying to install react-native-google-nearby-messages - react-native

I keep getting an error when trying to react-native-google-nearby-messages for react native and I don't know why I keep getting it.
I tried googling errors but unfortunately this isn't a very common package.

Related

react-native-reanimated Missing File Error

I am trying to compile my React Native application with Expo and for some reason, I keep encountering this issue with react native reanimated. I have removed and installed this package several times, and nothing is working. I even tried removing that line in the appropriate file within the node_modules folder, but it appears that deleting the line had no effect, as this error continues to pop up. I tried changing versions of react-native-reanimated as well. Has anyone else experienced this issue? Is there a solution to this?

Couldn't find a Program\n at Scope.getProgramParent

After installing expo-sms on my bare react-native app, Im unable to run my app as it keeps prompt this error:
Couldn't find a Program\n at Scope.getProgramParent
(/path/to/my/app/node_modules/#babel/plugin-transform-block-scoping/node_modules/#babel/traverse/lib/scope/index.js:864:11)
Anyone faces this error before?

React-native does not support IPFS?

I installed IPFS in my app and whenever I am trying to use it I always get this error.
Error: undefined Unable to resolve module `crypto` from `node_modules/libp2p-crypto/src/hmac/index.js`
I searched on google and found article which says it is impossible to use IPFS on mobile device.
But this article was created almost 1 year ago and I was wondering is it still true for react-native?
Is there any ways to solve my problem?
To query an IPFS node I use ipfs-mini
Works great for my react-native app.

React native app sourcemaps show incorrect location of error when error happens in asynchronous code

I have a react-native app. I recently moved to react-native version 0.61.5 for which I took the long route of creating a new react-native app and porting my code over to avoid any linking issues since new version used PODFILE as the default linking mechanism. Ever since I moved to version 0.61.5, I don't get the correct location of code in error logs. I think this is mainly happening when the code is running in asynchronous fashion which most of the code is. For e.g., look at below screenshot:
It is reporting that it is not able to call map on some array which is apparently undefined but the place where the error is reported is completely incorrect. I have no such file in my codebase and it is probably pointing to some file in some react-native package.
I am using Sentry #sentry/react-native": "^1.1.0". I don't think Sentry can cause issue with the sourcemaps reported during development.
I am not sure how to debug this problem. This problem is causing a lot of issues in debugging any errors as I have to manually figure out where the error happened. Please let me know if you have any tips on how to fix this problem.

TimeoutError: transforming ..\node_modules\aws-sdk\dist\aws-sdk-react-native.js

I've been having an error when trying to run/test my react-native application on my mobile device. The error seems to be originating from aws-sdk as below:
Is anyone familiar with this error and knows how to fix it?
react-native: 0.45.1
aws-sdk: 2.223.1
Check out https://github.com/aws/aws-sdk-js/issues/1748#issuecomment-392040722
After much attempts with the latest release i was able to get v2.224.1 working. I use react native v0.44.1.