Skip to content
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

Restricted in strict mode #5006

Closed
ManishBitsInfotech opened this issue Oct 5, 2022 · 9 comments · Fixed by #5224
Closed

Restricted in strict mode #5006

ManishBitsInfotech opened this issue Oct 5, 2022 · 9 comments · Fixed by #5224

Comments

@ManishBitsInfotech
Copy link

Environment
"axios": "^1.0.0",
"react": "18.1.0",
"react-native": "0.70.2",

@NoahSimajji
Copy link

I am having this issue too? What is happening?

@aqilhex
Copy link

aqilhex commented Oct 5, 2022

Same here.
TypeError: Restricted in strict mode, js engine: hermes

@NoahSimajji
Copy link

Can we try disable Hermes? will this work? curious (Haven't try from my side yet)

@aqilhex
Copy link

aqilhex commented Oct 5, 2022

Can we try disable Hermes? will this work? curious (Haven't try from my side yet)

Disabling Hermes is not good idea. According to React Native docs, " Hermes will result in improved start-up time, decreased memory usage, and smaller app size. "

@natemartins
Copy link

I need hermes enabled. I can't afford to disable it. I instead reverted to the last version of axios before 1.0.0 and it's working fine.

@togenius1
Copy link

I got the same issue.

@YounesKHENIFER
Copy link

same here in android , work fine in ios

@jasonsaayman
Copy link
Member

Hi 👋

Please try the latest pre-release by running the following:

npm i axios@1.2.0-alpha.1

Please provide feedback in either the pinned issue or discussion thread 🧵

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
7 participants