-
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
EINVAL: invalid argument, lstat #4188
Comments
Hm strange, I can't reproduce it (on OSX tho) 🤔 Does |
I can try giving this a shot in WSL soonish if we can track it down to Windows or WSL. |
Just updated to the latest build of Windows 10 Pro Insider Preview 16273.rs3_release.170819-1253. Also running into this issue in WSL. I made a new folder called
Downloading the nightly build (1.0.0-20170823.1414) didn't help. Running Looks like everything works OK if you're not inside |
@TheLarkInn Hey, by the way, the WSL team wants to see these bug reports rather than having them worked around. If you didn't file this internally at MS or as an issue on the WSL repository, you definitely should. The WSL devs don't want permanent workarounds being added in for WSL, since it makes it harder to test if their code is working, just FYI. I'll ping @sunilmut for you. |
thanks @fpqc. @TheLarkInn - As per @suitupalex comment, |
This happens to me now on build 16278.rs3_release.17082501441 I think my PC upgraded itself yesterday so now I can't use yarn install :( |
@sunilmut I have reverted my build back to 16251.rs3_release.170721-2122 and yarn is working fine. (I have to do a clean build of my computer though...) |
Do you think we can close this since this looks more like a WSL bug instead of a Yarn bug? |
I would say yes since this looks like a WSL issue. |
Thanks @sunilmut! |
@sunilmut is there a way to track this issue on WSL? My workaround at the moment is to yarn install in a different directory then copy node_modules over to my /mnt/c folder. Not a big hassle but kind of annoying |
Hey sorry for the late followup here. I wasn't sure if it was a yarn or WSL bug but it looks to be WSL related instead. Thanks for the heads up for next time! |
For anyone else running into this issue, the solution that worked for us was to move node_modules to another directory outside of any /mnt volume, then symlink to the location from the project:
Just noticed that this is the same solution as what @khuongduybui put together on microsoft/WSL#2448. While this was potentially a WSL bug per @suitupalex's linked issue, we're running yarn 1.6.0, with Windows build 16299 per the other thread, and yet this problem could still only be fixed by this workaround. |
Do you want to request a feature or report a bug?
Le Bug 🐛
What is the current behavior?
Strangely can't install after trying to install temporarily and then removing babel@7 alpha. Probably related to #4106
If the current behavior is a bug, please provide the steps to reproduce.
cloned https://github.com/TheLarkInn/example-webpack-loader
Ran yarn, and then the error occurred.
What is the expected behavior?
Install to work correctly
Please mention your node.js, yarn and operating system version.
WSL on Windows Insider Preview 170813-1700 (Internal Self Hosted OS Build)
Yarn Error Log
The text was updated successfully, but these errors were encountered: