Amplify v6 compatibility issue "Error: The package '@aws-amplify/react-native' doesn't seem to be linked." #25586
Replies: 22 comments 21 replies
-
Same issue here: Can anyone help please? |
Beta Was this translation helpful? Give feedback.
-
Same error |
Beta Was this translation helpful? Give feedback.
-
Same error here. |
Beta Was this translation helpful? Give feedback.
-
This will get you going but does not solve issues with using expo goAs of right now expo go is not supported with amplify v6 so you wont be able to use the app on a simulator or device, however you can run your app with commands:
With this you will be able to open your app with the simulator, however for a physical device you will have to plug it in via usb as you would using regular react native. You can see set up here: |
Beta Was this translation helpful? Give feedback.
-
Same error. |
Beta Was this translation helpful? Give feedback.
-
Same error here |
Beta Was this translation helpful? Give feedback.
-
Yes. I get the same result too. Gen 2 is unusable at this point.
|
Beta Was this translation helpful? Give feedback.
-
Same error, running npx expo run gives this error duplicate symbol 'OBJC_IVAR$_JKBigDecimal.bigInteger' in |
Beta Was this translation helpful? Give feedback.
-
Hey everyone. I don't know what I did but seems that it works for me now. Using Tamagui. I had a project first without tamagui but with Amplify V6 and another one with Tamagui but it seems it did not work. I just copied the package.json of the other files. Not sure what was causing the problem but here is the file : `{ ` |
Beta Was this translation helpful? Give feedback.
-
I got a solution. |
Beta Was this translation helpful? Give feedback.
-
Is there currently any plan to update expo to resolve the issue? Running into it now as well and wondering when expo will be compatible with aws-amplify again. |
Beta Was this translation helpful? Give feedback.
-
Slightly different error but maybe related?
|
Beta Was this translation helpful? Give feedback.
-
@alpha-adam, I also got duplicate symbol errors with expo run:ios, in the linking phase.
I then removed the amazon-cognito-identity-js package (seeing that the authenticator setup instructions of other JS clients don't list it as a dependency any longer) and that seems to fix it so far. However, the docs of the RN authenticator still say it's needed: https://ui.docs.amplify.aws/react-native/connected-components/authenticator#step-2-install-dependencies Maybe @nadetastic can comment on whether it's still needed. I got the above error when just following the RN authenticator setup instructions, installing the latest versions of all the packages listed there. |
Beta Was this translation helpful? Give feedback.
-
These packages work for me:
|
Beta Was this translation helpful? Give feedback.
-
Using the version: "aws-amplify": "^6.0.11". The error below occurs Using version: aws-amplify@"5.3.6". Worked perfectly! |
Beta Was this translation helpful? Give feedback.
-
I have same issue but this solve for me. https://docs.expo.dev/develop/development-builds/create-a-build/ |
Beta Was this translation helpful? Give feedback.
-
Any update on this incompatibility? It seems there are two options at the moment: 1) downgrade was-amplify to v5, 2) local builds. Should this be opened as an issue to increase visibility with the expo team? |
Beta Was this translation helpful? Give feedback.
-
It's now nearly the end of February and there's still no fix for this other than the unsatisfactory workaround to downgrade to Amplify 5. Is there any update? |
Beta Was this translation helpful? Give feedback.
-
getting same error any updates? |
Beta Was this translation helpful? Give feedback.
-
I am also encountering this error now. |
Beta Was this translation helpful? Give feedback.
-
Spent a few hours digging into this and was able to resolve it. First off, I am in a monorepo that may be adding some complexities as I am using amplify in a component package I suspect the main culprit was that I had Also, I have this working with Expo Go and do not require a compiled development build for this to work like some suggest here. |
Beta Was this translation helpful? Give feedback.
-
@JavanPoirier do you have a public repo where we could see how you solved the problem? |
Beta Was this translation helpful? Give feedback.
-
Currently the latest update amplify v6 library is incompatible with expo go.
When amplify is configured in the root layout with:
import { Amplify } from 'aws-amplify'; import amplifyconfig from '../src/amplifyconfiguration.json'; Amplify.configure(amplifyconfig);
you will have this error:
ERROR Error: The package '@aws-amplify/react-native' doesn't seem to be linked. Make sure:
, js engine: hermes
is there a possible work around to get going with the update amplify library while using expo go?
Beta Was this translation helpful? Give feedback.
All reactions