jspm install err TypeError:必须以数字,缓冲区,数组或string开头

jspm install

我面临的错误

 TypeError: must start with number, buffer, array or string at fromObject (buffer.js:158:9) at new Buffer (buffer.js:62:10) at decodeCredentials (E:\Exinda_Cloud\qx-cloud-fe\node_modules\jspm\node_modules\jspm-github\github.js:55:14) at Object.GithubLocation (E:\Exinda_Cloud\qx-cloud-fe\node_modules\jspm\node_modules\jspm-github\github.js:112:19) at Object.exports.load (E:\Exinda_Cloud\qx-cloud-fe\node_modules\jspm\lib\registry.js:73:56) at new RegistryPath (E:\Exinda_Cloud\qx-cloud-fe\node_modules\jspm\lib\config\loader.js:264:33) at Config.read (E:\Exinda_Cloud\qx-cloud-fe\node_modules\jspm\lib\config\loader.js:127:26) at E:\Exinda_Cloud\qx-cloud-fe\node_modules\jspm\lib\config.js:100:26 at process._tickCallback (node.js:369:9) at Function.Module.runMain (module.js:443:11) at startup (node.js:139:18) at node.js:968:3 

err无法加载registrygithub

警告安装更改未保存。

这是如何解决这个问题。

input命令jspmregistryconfigurationgithub并input您的凭据,然后重试该命令。 如果一切顺利,命令应该产生类似的反应

C:\ Users \ Umamaheswaran> jspmregistryconfigurationgithub

你想build立你的GitHub凭证吗? [是的是的

如果使用双因素身份validation或避免使用密码,则可以在https://github.com/settings/tokens中生成访问令牌。 确保它具有public_repo作用域访问权限。

input您的GitHub用户名:XXXX
input您的GitHub密码或访问令牌:

你想testing这些凭据? [是的是的
确定GitHub身份validation正在成功。
确定registrygithubconfiguration成功。