You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's not a race condition. All sync require calls use a single cache that's invalidated afterwards. Thus, as soon as there's anything async, the file is possible to be found.
What steps will reproduce the bug?
It seems there may be some race conditions.
Error (cannot find module...):
With timeout — OK:
With callback — OK:
Promisified — OK:
Without failed try — OK:
Previously reported in nodejs/help#3144
The text was updated successfully, but these errors were encountered: