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

Error: "Invalid regular expression... Range out of order in character class" #1828

Closed
hodgef opened this issue Apr 29, 2019 · 6 comments
Closed

Comments

@hodgef
Copy link

hodgef commented Apr 29, 2019

🐛 bug report

Description of the problem

While visiting one of my sandboxes, I notice it is now outputting the following error:

"Invalid regular expression... Range out of order in character class".

image

Nothing has changed in my set-up. Even reverting the sole dependency to a previous version (which has worked before), yields the same problem. Another sandbox I have however, is still working fine.

Any help would be appreciated!

Link to sandbox: link (optional)

Your Environment

Software Name/Version
Сodesandbox latest
Browser Chrome 73.0.3683.103
Operating System Win 10
@SaraVieira
Copy link
Contributor

Hey!

This seems to be an issue with the new implementation we have of JSDom

Will take a look today

@hodgef
Copy link
Author

hodgef commented May 1, 2019

@SaraVieira, this seems to be fixed now. Thanks!

I'll close the ticket and keep an eye out in case it comes back.

Best,
Francisco Hodge

@hodgef hodgef closed this as completed May 1, 2019
@statianzo
Copy link

This error is still happening for me in the linked sandbox @SaraVieira included. Just click "Tests" tab and then back to the preview.

https://codesandbox.io/s/github/hodgef/simple-keyboard-npm-demos/tree/master/

It's also showing in the console
image

@ashleemboyer
Copy link

ashleemboyer commented Feb 18, 2020

I came across this error yesterday. I created some sandboxes for teaching people about Jest. They worked great before I shared them, and it seems like after people open them and start editing this error occurs. I haven't been able to confirm if turning off Live mode prevents the error or not.

ETA: I was also able to reproduce it in the linked sandbox, like @statianzo said.

@garethx garethx reopened this Feb 18, 2020
@ashleemboyer
Copy link

I've had a few friends help me test this, and we're not getting this error when Live has been turned off for a sandbox.

@github-actions
Copy link

github-actions bot commented Sep 4, 2020

This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made.

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

No branches or pull requests

5 participants