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
I'm developing an app with react native and wanted to integrate with Magic, but i'm hitting an issue with magic-ext/auth where i get an error that the imported file can't be found. Most specifically: ...dist/react-native/index.native.js.
I'm fairly new to developing in react native, so there might be something that i missed here, but it seems that this line is pointing react native in the wrong direction, as there isn't any dist build directory with the name react-native. I have looked at the expo packages and they don't have this react-native prop.
The issue seems to be with the following line in package.json:
At the moment, the fix i have for it is pointing the react-native prop to the index.js file, or simply deleting the line completely.
Am i doing something wrong when installing this module? AFAIU, I don't think so.
Also, it seems that there is something similar on the webauthn extension too. There is a index.native.ts file, but the reference doesn't seem to be pointing to the right file, and it seems that there isn't a dist/react-native folder too
Please let me know if these lines are something leftover from a refactor or something of the like, and if you'd like me to submit a PR pointing those lines to the right files, or changing them in some other way.
Thank you
The text was updated successfully, but these errors were encountered:
Hello,
I'm developing an app with react native and wanted to integrate with Magic, but i'm hitting an issue with
magic-ext/auth
where i get an error that the imported file can't be found. Most specifically:...dist/react-native/index.native.js
.I'm fairly new to developing in react native, so there might be something that i missed here, but it seems that this line is pointing react native in the wrong direction, as there isn't any dist build directory with the name
react-native
. I have looked at the expo packages and they don't have thisreact-native
prop.The issue seems to be with the following line in
package.json
:magic-js/packages/@magic-ext/auth/package.json
Line 20 in 276bad5
At the moment, the fix i have for it is pointing the
react-native
prop to theindex.js
file, or simply deleting the line completely.Am i doing something wrong when installing this module? AFAIU, I don't think so.
Also, it seems that there is something similar on the
webauthn
extension too. There is aindex.native.ts
file, but the reference doesn't seem to be pointing to the right file, and it seems that there isn't adist/react-native
folder toomagic-js/packages/@magic-ext/webauthn/package.json
Line 20 in 276bad5
Please let me know if these lines are something leftover from a refactor or something of the like, and if you'd like me to submit a PR pointing those lines to the right files, or changing them in some other way.
Thank you
The text was updated successfully, but these errors were encountered: