Skip to content
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

WSL / Docker / composer install: file not found error #268

Closed
aaronellington opened this issue May 10, 2019 · 1 comment
Closed

WSL / Docker / composer install: file not found error #268

aaronellington opened this issue May 10, 2019 · 1 comment
Labels
upstream Issue identified as 'upstream' component related (exists outside of VS Code Remote) wsl Issue in vscode-remote WSL

Comments

@aaronellington
Copy link

  • VSCode Version: 1.34.20-insider d6aa8eaf30c71df32d4543290675808440def630 x64
  • Local OS Version: Windows 10.0.17763
  • Remote OS Version: Windows WSL Ubuntu 18.04
  • Remote Extension/Connection Type: WSL

Steps to Reproduce:

  1. start with a docker project that runs composer install on startup
  2. start and stop the docker container with no issues (docker for windows is properly configured to run along with WSL)
  3. Open the project in VS Code using the WSL extension
  4. try to start the docker container again and it complains about not being able to remove some files it just added
  5. close VS code
  6. try to start the docker container again and it works just fine

Does this issue occur when you try this locally?: No
Does this issue occur when you try this locally and all extensions are disabled?: No

Other information related to this issue:

  • it's a Symfony project so other directories are causing issues too (var/cache/dev). Basically, anything that it has files that are deleted and recreated quickly.
  • Using files.watcherExclude fixes it all cases (not a terrible solution since it helps VS Code run faster too)
  • The files get into a state that I can't delete them until I close VS Code. Trying all of the following fails until I close VS Code:
    • dragging the files into the recycle bin via Windows Explorer
    • sudo rm -rf vendor/ from WSL
@aaronellington aaronellington changed the title WLS Docker composer install file not found WLS / Docker / composer install: file not found error May 10, 2019
@aaronellington aaronellington changed the title WLS / Docker / composer install: file not found error WSL / Docker / composer install: file not found error May 10, 2019
@egamma egamma added upstream Issue identified as 'upstream' component related (exists outside of VS Code Remote) wsl Issue in vscode-remote WSL labels May 10, 2019
@egamma
Copy link
Member

egamma commented May 10, 2019

Since files.watcherExclude avoids the problem this looks like a auplicate of microsoft/WSL#3395. This is a known limitation of WSL that will be addressed in WSL2.

@egamma egamma closed this as completed May 10, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Jun 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
upstream Issue identified as 'upstream' component related (exists outside of VS Code Remote) wsl Issue in vscode-remote WSL
Projects
None yet
Development

No branches or pull requests

2 participants