בעיה בהגדרת dev Discourse על WSL2 עם Docker - נפתרה

סיכום מבוסס בינה מלאכותית

Alexander_Wright encountered issues setting up Discourse development on WSL2 with Docker, receiving a “Localhost didn’t send any data” error in Chrome. merefield asked for confirmation on WSL2 usage and whether the necessary services were running. Alexander_Wright confirmed WSL2 was active and initially faced a yarn cache error with ember-cli. After deleting the yarn cache and rebuilding, the setup succeeded Alexander_Wright.

Continuing the discussion from Beginners Guide to Install Discourse for Development using Docker:

I’ve Windows 10 installed with WSL2 and Ubuntu 20.04.

I’ve installed Docker and verified the installation with a simple alpine container. My local Chrome browser can connect to this.

I’ve installed Discourse with docker via the instructions on the page linked above, verified the ports are open, but no dice.

Chrome reports “Localhost didn’t send any data”.

Is there anything I can do to verify the installation, and find out why it’s not working?

Cheers!

Definitely wsl2? What does wsl -l -v report in Powershell?

You are running both d/rails s and d/ember-cli in separate terminals? Both appear to be running without errors?

Ahhh! Success!

I deleted the yarn cache, rebuilt, and all is running.