-
Notifications
You must be signed in to change notification settings - Fork 659
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
Testcafe typescript fails with @babel/types/lib/index.d.ts error #5807
Comments
I play with this bug in 1 day. |
@oreporan
Everything worked as expected in this case. |
My understanding is that the babel/types/lib/index.d.ts file contains some too long lines. |
I solve this issue by installing all the modules separately as a devDependency.
|
Thank you all for your input. |
That resulted in
I don't feel going down the babel rabbit hole is a good solution @AlexKamaev |
The same error on building cra3 with typescript default configuration. Sometimes rebuild helps, but sometimes not, this works rather strange. |
Might be related to babel/babel#12519 and babel/babel#12521 |
yeah - this one! |
so do any changes need to be done to testcafe to make this fix work? |
If it contains babel types dep then we should wait for the fixed version from babel team, I suppose. |
Let's wait till a new version is released, then let's verify if this bug is still present in testcafe or not. |
Folks
I agree with @castamir - let's wait for the new TestCafe version with the #5808 fix. After it, you can recheck your scenarios and localize the problem more precisely. |
The version of TestCafe with the #5808 fix is already released - |
Our issue was resolved with new version of |
This issue was automatically closed because there was no response to our request for more information from the original author. Currently, we don't have enough information to take action. Please reach out to us if you find the necessary information and are able to share it. We are also eager to know if you resolved the issue on your own and can share your findings with everyone. |
What is your Test Scenario?
Upgraded react storybook to latest, which caused updates to
@babel
Since then, testcafe fails on compilation of typescript
What is the Current behavior?
Running:
Results in :
What is the Expected behavior?
What is your web application and your TestCafe test code?
Your website URL (or attach your complete example):
Your complete test code (or attach your test files):
Your complete configuration file (if any):
Your complete test report:
Screenshots:
Steps to Reproduce:
Create a repo with storybook versions:
Try to run testcafe using:
Your Environment details:
The text was updated successfully, but these errors were encountered: