DEV Community

Discussion on: Creating a Flutter App on Windows with WSL2

Collapse
 
ranggakd profile image
Retiago Drago

I wonder if we can create a Flutter web app from WSL2. I had a problem with the CHROME_EXECUTABLE device since the host was Windows but I wanted to develop it in WSL2. I've already tried to use the msedge.exe for Windows GUI, not the Linux one and got this error. I assume it has something to do with the file permission on Windows.

flutter test app

Collapse
 
mariasitumbeko profile image
Maria Situmbeko

I'm not sure about the file permissions. When building on the web, I use the Chrome app that comes from the Ubuntu install. It shows up when you search for Chrome in the Start menu
Image description

Then I do the Flutter run command and it launches in the browser.