-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Unexpected error on Windows #17
Comments
Thanks for reporting this, I tried to
But I can't see any error. Did I do something wrong? |
After cleaning |
Thanks @fisker Looks like your PR + a few re-runs didn't get the error either today If we take a look at the GitHub Actions runs that failed last week:
The npm package lines in try {
lock.lock(1e3);
} catch (error) {
if (error instanceof atomics_wait_timeout_error_default) {
throw new Error(
`Unexpected error, most likely caused by syntax error in '${WORKER_FILE}'`
);
}
throw error;
} Perhaps on GitHub Actions, under some loads, we're seeing the 1000ms timeout is too slow? Rather than syntax error |
Removed that check in #25, you can try @prettier/sync v0.5.1. https://github.com/prettier/prettier-synchronized/releases/tag/v0.5.1 |
Since
@prettier/sync
introducedmake-synchronized
we've seen unexpected errors thrown on WindowsThis doesn't happen all the time and re-running build steps will temporarily resolve the issue
Hope this is helpful for others
Log output
Here's stack trace we've seen regularly but see more examples in alphagov/govuk-frontend#4695
The text was updated successfully, but these errors were encountered: