-
-
Notifications
You must be signed in to change notification settings - Fork 96
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
lstat error when reading laravel project #260
Comments
Unusre about this one. I've seen a similar error posted on the atom repo where if a network drive is in use and gets disconnected. Do you have nodejs installed? |
Yes, I have node js installed? |
I only ask because I think vscode will use the node version that comes with electron if there is no separately installed node version. I wondered if that could make a difference. |
For me, this happened because I'm running composer inside WSL. It seems that the extension can't follow symbolic link. The workaround is running composer from windows console / git bash. |
@mtsunu , you are actually right i do use wsl with vscode, but once i switched to git bash or cmd.exe it still doesn't works fine,, but the issue was never there before? what changed? |
The file finding was moved to the server and no longer uses the vscode file finding api available in the extension host. Now this is used - https://github.com/mrmlnc/fast-glob |
oh. Damn, does it support wsl?... cause i cant even use the extension with git bash or cmd.exe at all |
Same problem here. When running I tried adding For a quick workaround for Another workaround is to downgrade the extension in VSCode to v0.8.8. |
Thanks for the workaround @patrickcarlohickman Anyone want to write a quick nodejs script and test globbing with https://www.npmjs.com/package/glob and see if that works? |
@patrickcarlohickman ... Thanks for the fix, issue resolved. Thanks so much. |
Same thing, when linking storage to public folder in Laraval 5.7:
@patrickcarlohickman solution it is not applicable here, I think. |
@weogrim Yeah, the composer stuff I mentioned won't help you out at all in this scenario. You can try making the link in windows, and hope WSL knows how to read it properly. If you have php installed on your windows host, you can run If you don't have php installed and don't want to install it, you can run the
This is the underlying command that If creating the link in Windows does't resolve the issue, I think your only recourse would be to downgrade the extension to v0.8.8. |
I have found the best workaround is to enable "Developer mode" on Windows. From then on all newly created symlinks on WSL will be real symbolic links and not junctions. |
started to get this error from vscode everytime i try to reindex laravel project
Please can you help?
The text was updated successfully, but these errors were encountered: