【问题标题】:err Repo github:angular not found! [jspm install]错误回购 github:找不到角度! [jspm 安装]
【发布时间】:2018-07-19 19:23:49
【问题描述】:

我在安装 jspm 时遇到此错误,

err Repo github:angular not found!

执行 jsp install github:angular 也不起作用。

jspm_config.json 位置是 https://plnkr.co/edit/2svUSwjVgCxyJ4iJHj1T?p=info

有人可以帮忙吗,在此先感谢

【问题讨论】:

    标签: javascript jspm


    【解决方案1】:

    最后,我能够解决问题,

    mac 上的本地 ~/.jspm/config 文件必须为 github 配置正确的 url,我最初配置为使用 https://github.com 作为导致问题的 github 的 jspm 注册表,

    我将其替换为 https://github.jspm.io 并删除了任何 auth 属性。它要求我生成身份验证令牌,一切顺利。

    "github": {
          "remote": "https://github.jspm.io",
          "auth": "XXXXXXXXXX",
          "maxRepoSize": 0,
          "handler": "jspm-github"
        }
    

    【讨论】:

    • 对于 windows 10 的配置文件存在于%LOCALAPPDATA%/.jspm/config
    猜你喜欢
    • 2019-11-24
    • 2017-11-08
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-11-15
    • 2017-11-07
    • 1970-01-01
    相关资源
    最近更新 更多