Just wondering if people using wsl2 also store/run their Wappler projects on the linux filesystem ?
Does not seem like Wappler plays nice accessing the folders. VSCode/terminal has no issues and suggests moving the project to linux fs.
Running Win 11 wsl2 with zsh.
Wappler projects stored on linux filesystem.
Docker using the wsl 2 based engine and otherwise working fine
This seems to be an issue especially when trying to deploy.
Anyway to force Wappler to use wsl 2 terminal ?
Or is it a completely different issue
From Wappler Terminal
'\\wsl.localhost\Ubuntu\home\mattis\projects\wappler_new_test\.wappler\targets\Development'
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported. Defaulting to Windows directory.
CreateFile C:\Windows\docker-compose.yml: The system cannot find the file specified.
Error Launching Services!
Scoop Installer for Windows is correctly installed.
Checking Docker Desktop installation and version...
Docker version 20.10.11, build dea9396
Docker Desktop is correctly installed.
Where the Terminal button is, inside a Docker Project, you can expand this to reveal SSH, have you tried this and SSH in to the image? Should drop you into an Ubuntu shell?
I forgot to mention the error occurs when I hit deploy (Development docker env)
If I push the terminal button it puts me in the win console.
The docker containers are not even spun up.
If I keep my wappler projects outside of wls2 (on win filesystem) things are working as they should. But I want to keep them on linux fs to make things harder for my self
Is this a new Docker installation, and have you rebooted since installing Docker? I don't think it should be creating docker-compose.yml in C:\Windows... Seems like an Environmental variable is not set somewhere (cursed variables)? Can't remember the exact path for it under Windows but shouldn't be there am sure..?
This is the guide I used to install Docker on Windows, maybe it could help?
I see that the wsl2 ubuntu installation is showing in explorer, while opening a project in Wappler it is not visible. I can paste the path and open the project that way, but Wappler is not truly in wsl it seems.
@Teodor : Are we not supposed to keep wappler projects on wsl2 partitions ?
You have installed Wappler as windows app and try to access Linux data volumes.
I think the Linux subsistence for windows is meant to run Linux apps on it. So if you really want to use it - maybe install also the Linux version of Wappler on it.