Can't run vagrant commands from wsl2

/opt/vagrant/embedded/gems/gems/childprocess-4.1.0/lib/childprocess/abstract_process.rb:44:in `initialize': all arguments must be String: ["/usr/bin/wslpath", "-u", "-a", nil] (ArgumentError)
        from /opt/vagrant/embedded/gems/gems/childprocess-4.1.0/lib/childprocess.rb:23:in `new'
        from /opt/vagrant/embedded/gems/gems/childprocess-4.1.0/lib/childprocess.rb:23:in `new'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/util/subprocess.rb:87:in `execute'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/util/subprocess.rb:25:in `execute'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/util/platform.rb:558:in `wsl_windows_accessible_path'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/util/platform.rb:640:in `wsl_init'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/bin/vagrant:217:in `<main>'

I did

echo 'export VAGRANT_WSL_ENABLE_WINDOWS_ACCESS="1"' >> ~/.zshrc
echo 'export PATH="$PATH:/mnt/c/Program Files/Oracle/VirtualBox"' >> ~/.zshrc

source ~/.zshrc