npx degit 找不到 master 的提交哈希

sup*_*rio 1 javascript authentication github svelte degit

在我的 Ubuntu 18.04 机器上,我正在按照教程启动一个 svelte 项目,但无法使用 degit 进行身份验证:

$ npx degit sveltesj/template ninjapolls
Username for 'https://github.com': myname
Password for 'https://myname@github.com': mypw
! could not fetch remote https://github.com/sveltesj/template
! could not find commit hash for master
Run Code Online (Sandbox Code Playgroud)

我很确定我的凭据是正确的,因为我刚刚在浏览器上使用它登录到 github。那么这里可能出了什么问题以及如何修复它?

rix*_*ixo 5

您的 degit 命令中有一个拼写错误:sveltesj而不是sveltejs.