Serverless login - Error: spawn cmd.exe ENOENT

Hi All,

I’m trying run serverless on WSL (ubuntu 18.04) and I’m getting this error when trying to create a project:

Serverless: Do you want to login or register? login

Error --------------------------------------------------

Error: spawn cmd.exe ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:264:19)
at onErrorNT (internal/child_process.js:456:16)
at processTicksAndRejections (internal/process/task_queues.js:80:21)

Your Environment Information ---------------------------
Operating System: linux
Node Version: 12.12.0
Framework Version: 1.53.0
Plugin Version: 3.1.0
SDK Version: 2.1.1
Components Core Version: 1.0.0
Components CLI Version: 1.2.3

I have set the SERVERLESS_ACCESS_KEY.

Obviously, cmd.exe doesn’t exist on Ubuntu. Any idea what I’m doing wrong?

Thanks,
Marcus