-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Error: ENOENT: no such file or directory, symlink
on Windows
#4293
Comments
I'm experiencing the same issue. At first I thought it was related to the symlinks I was creating for the workspaces. |
I've noticed that the issue is with the It causes symlinks to be corrupted. Temporary fix: Line 692 in 15a438d
The modules at the end map to the Linux filesystem function, specifically I believe that unlinking a symlink in Docker containers causes the issue, as the file is still being used by Docker it won't be removed, and will be corrupt when trying to access it. (shutting down Docker removes the file). According to the documentation of |
There are different issues in Yarn open based on the behavior of Node.js fs.unlink module. |
Do you want to request a feature or report a bug?
bug
What is the current behavior?
When running
yarn
on Windows Bash to setup a workspaces project, an error occurs when trying to symlink the local packages. My primary dev device is a mac, and workspaces has been working flawlessly there. Not sure how to proceed, so looking for help. Thanks!If the current behavior is a bug, please provide the steps to reproduce.
Running
yarn
from the root directory in a workspaces project on Windows.What is the expected behavior?
Please mention your node.js, yarn and operating system version.
node
v8.4.0
, yarn nightly1.0.0-20170829.1752
, os Windows 10 (Bash)The text was updated successfully, but these errors were encountered: