magiclabs / magic-js

Magic browser/React Native JavaScript SDK is your entry-point to integrating passwordless authentication inside your application.
https://magic.link/docs/api-reference/client-side-sdks/web
Apache License 2.0
462 stars 86 forks source link

(React Native ios) Error: While trying to resolve module `@magic-ext/solana` from file #484

Open heluansantos opened 1 year ago

heluansantos commented 1 year ago

I had this error with React native ios when I tried to use the SolanaExtension:

Screenshot 2023-03-27 at 23 25 12

I fixed it by deleting line 21 and line 61:

Screenshot 2023-03-27 at 23 27 20

This is a workaround but it works fine here. Everything is normal now. I hope I have contributed something.

tyler-whitman commented 1 year ago

Having the same problem on "@magic-ext/solana": "^13.1.2". I had to remove "react-native": "./dist/react-native/index.native.js",

mxmnci commented 1 year ago

Having the same problem on "@magic-ext/solana": "^13.1.2". I had to remove "react-native": "./dist/react-native/index.native.js",

This worked for me on version 15.3.1. Trying to figure out a more permanent fix...