Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Retry rename on EBUSY #2237
Next versions of node (including 0.6.13) can also report EBUSY under similar conditions.
@piscisaureus looks like this logic is somewhat handled by https://github.com/isaacs/lockfile now, and it seems less discriminate about retries: https://github.com/isaacs/lockfile/blob/master/lockfile.js#L141
When npm is unpacking the tar, it doesn't seem to attempt retries at all now, so I'm guessing it relies on