React Native Expo setup issue - The package at "node_modules/@metamask/sdk-react/dist/react-native/es/metamask-sdk-react.js" attempted to import the Node standard library module "node:crypto". It failed because the native React runtime does not include the Node standard library. #1205
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am currently following this guide: https://docs.metamask.io/wallet/connect/metamask-sdk/mobile/react-native/#1-create-a-new-project -- and I keep running into the issue added in the title. i have tried to find some solutions online which some prompt me to use older versions of @metamask/sdk-react , but even these videos/posts are like a year old and are working on older versions of expo. I've tried using claude.ai and ChatGPT for solutions aswell but nothing seems to work. its also not helpful that the expo example is in TypeScript while my project is in JavaScript. If anyone has any ideas/solutions, please share. Thanks
Beta Was this translation helpful? Give feedback.
All reactions