npm ERR! enoent undefined ls-remote -h -t ssh://git@github.com/rschamp/gh-pages.git

这个错误是因为没有安装Git

可以从下面的地址下载

https://www.git-scm.com/download/win

最新版本Git-2.27.0-64-bit.exe.

下载完成安装就可以