Unable to initialize project using cli
- EdgeDB Version: 2.14+7aec755
- EdgeDB CLI Version: 3.0.0-dev.983+bbf07e5
- OS Version: Windows 10 Home 19044.2965
Steps to Reproduce:
- Install edgedb on windows with wsl2
- Run 'edgedb project init'
I referenced https://github.com/edgedb/edgedb-cli/issues/850#issuecomment-1275965281 from #850 by @tailhook , installed nightly and ran 'edgedb project init 2>project-init.log' to generate the following log. project-init.log
The only thing we see in the log is that network in WSL doesn't work. It's likely that firewall blocks the network in WSL. Unfortunately there are a lot of different issues with WSL and firewalls.
If you don't have any specific one installed I suggest trying to disable "windows defender firewall" entirely and test if that works. If it does you can revert the setting and work thought more fine-grained firewall tuning.
Yeah, I only have windows firewall installed. Even after disabling all the firewall options from settings I could not initialize a project.
I have the same problem. I installed WSL separately, but it still starts downloading WSL upon initialization. Administrator rights didn't help.
I also discovered a bug during installation: when select to change the path: 2 -> Y, nothing happens
UPD
And so, install wsl (Admin rule)
wsl --install
Be sure to restart your computer to complete the installation.
Then run
edgedb server install