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
deasync hangs with --experimental-specifier-resolution=node #35510
Comments
|
Also, just tried without |
|
@daveisfera I’ll close this because what |
|
That makes sense, but is there a recommended pattern for how to load settings using promises before the rest of an application is initialized, because relying on |
|
I can verify that But when not using This is all while using |
|
I updated abbr/deasync#134 with a reproduction, and also showed there that avoiding use of the Not sure if it may help, but also check out how I'm waiting for the promise in that example's code; it could be (but I'm not sure) that the way I'm using deasync (while not using |
What steps will reproduce the bug?
yarn testand verify it works withesmyarn specand verify that it hangs when node's ESM supportHow often does it reproduce? Is there a required condition?
100%
What is the expected behavior?
Runs to completion like with
esmWhat do you see instead?
Hangs while resolving the promises
Additional information
I was looking for an alternative approach to work around #35103 and ran into this issue
The text was updated successfully, but these errors were encountered: