-
Notifications
You must be signed in to change notification settings - Fork 610
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
React Native - Syntax Error: Static class blocks are not enabled #6828
Comments
Hi @TLmaK0 - thanks for reaching out. Could you share your |
This issue has not received a response in 1 week. If you still think there is a problem, please leave a comment to avoid the issue from automatically closing. |
Also starting to see this issue after upgrading to |
Hi @radelcom - could you share these below? It might be dependencies conflict but will need to confirm.
|
we have a monorepo setup and here are our dependencies in
|
same issue, even after adding babel/plugin-transform-class-static-block didn't work. I'm using expo ejected |
Thanks for reporting, it sounds like a lot of dependencies involved with case by case scenario. Could someone share a minimal reproducible code with steps to follow? I also found this post that may be related:
Hope that helps! |
worked for me using this version : "@aws-sdk/client-cognito-identity-provider": "^3.687.0", |
It only works after I downgraded from 3.741 to 3.721.0. |
I'm not able to reproduce this on my end. Please share a minimal reproducible code for further support. |
Facing the same issue. I am using "@aws-sdk/client-s3": "^3.633.0" for the file upload feature in my react native app. Recently, I have started getting this error after installing the node modules again. ![]() These are the version which I am using - Also, I tried to upgrade/downgrade to other versions but I am still getting the same issue. Please let me know if anyone found the solution as it is blocking me to release my application. Hi @aBurmeseDev, Can you please help me with it? |
Since you mentioned the issue was resolved for you in your new post, I'm going to close this now. I'll continue to assist you on new issue. @harshit-infogen |
This issue is now closed. Comments on closed issues are hard for our team to see. |
Checkboxes for prior research
Describe the bug
After add
@aws-sdk/[email protected]
to package.json, the Androd build stops working. Rolling back to@aws-sdk/[email protected]
works again. The problem could be with@smithy/smithy-client
upgrade.Regression Issue
SDK version number
@aws-sdk/[email protected]
Which JavaScript Runtime is this issue in?
React Native
Details of the browser/Node.js/ReactNative version
13.6.9
Reproduction Steps
yarn add @aws-sdk/client-s3
react-native run-android
Observed Behavior
Expected Behavior
The application is deployed in the android device
Possible Solution
rollingback to versión
@aws-sdk/[email protected]
Additional Information/Context
In version
@aws-sdk/[email protected]
,@smithy/smithy-client
was upgraded.The text was updated successfully, but these errors were encountered: