-
Notifications
You must be signed in to change notification settings - Fork 524
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(builtin): account for racy deletion of symlink in linker (#2662)
On Windows, the linker has been prone to race conditions with respect to symlinking packages into the `node_modules` tree, causing ENOENT errors that causes the target to fail. Since the intention of `symlinkWithUnlink` and `deleteDirectory` is to unlink the directory anyway, we can simply ignore ENOENT errors for the directory that would be about to be unlinked.
- Loading branch information
Showing
2 changed files
with
90 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters