-
Notifications
You must be signed in to change notification settings - Fork 270
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
Invalid regular expression: Quantifier has nothing to repeat #955
Comments
Explained by @satya164 on Reddit
|
Why is your ios production build even bundling code from I'll close the issue meanwhile since you as you raised it, the issue is on your side, but feel free to raise any problem/concern you might have. |
Sure @AugustinLF, I don't think you should deal with it. I hope you've already seen this problem and can give some advice. Just want to share the information I have, in case somebody else will face the same issue. For this project, we are using monorepo. This is my first experience with yarn workspaces, but my guess is it's somehow related. I have nohoist settings like
So this pattern, unfortunately, overlaps with |
I have been seeing the same error. The build error happens when using Hermes because the Weirdly, I also noticed that In case it helps others, I have been able to work around this issue by using an alias when installing the library with Yarn:
And then, I use |
For whoever experiencing such problem, I solved by adding:
in |
@pasquale95 make sure that you add RNTL as dev dependency instead of regular one. RNTL should not be bundled with your app build! |
@mdjastrzebski check #955 (comment) It doesn't matter if it is dev or regular dependencies. |
Describe the bug
When I'm making ios production build I'm getting following error
which is points to the testing-library, see attached screenshot
Screenshots
Versions
The text was updated successfully, but these errors were encountered: