plugin
plugin copied to clipboard
[Bug]: Plugin not working with WSL2
Bug description
Plugin crashes
com.intellij.util.IncorrectOperationException: java.io.IOException: Cannot create directory '\\wsl$\Ubuntu-20.04\home\me\Sites\mysite\vendor\_laravel_idea'
Plugin version
4.4.5.213
Operating system
Windows
Steps to reproduce
Create a site inside of WSL2 with PHPStorm installed in Windows and try to use the plugin.
Relevant log output
No response
Hello, Rob.
Could you create files from PhpStorm? In the vendor
folder? It seems there are some issues with folder rights...
I use WSL2 and the plugin works normally so it's not about the OS.
@keyboardSmasher Hello, using WSL2 for PHP is not that good, i would suggest this tutorial if you really need to use Windows or WSL2 https://www.pimwiddershoven.nl/entry/lightning-speed-development-on-windows-10-with-wsl-2-docker-terminal-and-jetbrains-intellij-pycharm-phpstorm
You might have better luck with WSL1 as the Filesystem is a bit better for PHP projects shared with Host OS as the io throughput is better.
Had similar problems with wsl2. It looks you've created directory inside your ubuntu with another user. Try just to change permissions for that directory recursively.