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

Getting timeouts from time to time #156

Open
JJ opened this issue Jun 14, 2021 · 4 comments
Open

Getting timeouts from time to time #156

JJ opened this issue Jun 14, 2021 · 4 comments

Comments

@JJ
Copy link

JJ commented Jun 14, 2021

From time to time, rollup takes time to copy files and they're not ready when tests starts.
Captura de pantalla de 2021-06-14 13-43-11
See for instance above how it errors saying it does not find the file which has just been copied. Any idea of how to fix this? Maybe create some delay when the file is being processed, in the plugin file?

@bahmutov
Copy link
Owner

bahmutov commented Jun 14, 2021 via email

@JJ
Copy link
Author

JJ commented Jun 14, 2021

It happens 1/2 to 1/3rd of th etime. Sometimes it's a chmod error, some other times an unlink error, the problem always seems to be it starts to copy stuff but then cypress kicks in, does not find something, bails out.

@JJ
Copy link
Author

JJ commented Jun 14, 2021

Testing with the latest version of rollup, same thing. Sorry... Can't figure it out. Maybe because it's called asynchronously? Shouldn't it return an asynchronous function?

@bahmutov
Copy link
Owner

I would be able to look at it, if I had a reproducible example showing the problem

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

No branches or pull requests

2 participants