You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
one other thing, I notice the comments in that file state:
// If using the crypto shim, uncomment the following line to ensure
// crypto is loaded first, so it can populate global.crypto
if using the crypto shim? what does that mean? is there some other thing I need to do? all I want is for crypto.getRandomValues to become defined so that react-native-randombytes can do its thing
I'm getting this error when I
import ./shim.js
as the first line in my component. I'm not sure why that file has the last line commented out:// require('crypto')
but I've uncommented it since that's actually what I'm installing this package for. any idea why I'm getting this and how to fix it?
in fact, it's the uncommenting of that line that causes the problem
The text was updated successfully, but these errors were encountered: