-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Unable to run Chakra on apps in repo #14192
Comments
Searching online, this appears to be an error with using a new RegEx feature in JS that an older JS engine doesn't understand. In the past, when we've run into an issue where Chakra can't use some bit of new JS syntax, we find out what the new syntax is and then add a new babel transformer plugin to our RN babel config to transform it into something Chakra can run. This may or may not be possible with RegEx features specifically though, and we may need to re-write the offending code (if possible) in a patch. Or we just stop supporting Chakra ;) |
@jonthysell Will look into it! And just clarifying, this error isn't coming for the integration (although the Chakra e2etests are failing on the integration at ScrollView). This Error is coming from trying to run any Chakra app on the main branch, which means the only way to debug Chakra error is through the CI which just takes an hour to build and is very time consuming. Possibly I'm missing a step when trying to run Chakra? I've set the useHermes flag to false and clicked the Chakra option on playground |
fixed on integration! |
Problem Description
When trying to run Chakra on playground and testerapp (have switched UseHermes flag to false) the following error message appears
This makes it hard to debug problems in integrations that are specific to Chakra
Steps To Reproduce
Expected Results
CLI version
npx @react-native-community/cli -v
Environment
npx @react-native-community/cli info
Community Modules
No response
Target Platform Version
10.0.22621
Target Device(s)
Desktop
Visual Studio Version
Visual Studio 2022
Build Configuration
Debug
Snack, code example, screenshot, or link to a repository
No response
The text was updated successfully, but these errors were encountered: