javascript - 错误 repo github :angular not found! [jspm 安装]

标签 javascript jspm

我在安装 jspm 时遇到这个错误,

err Repo github: 找不到 Angular !

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

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

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

最佳答案

终于解决了这个问题,

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

我将其替换为 https://github.jspm.io 并删除了任何 auth 属性。它要求我生成授权 token ,一切都很顺利。

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

关于javascript - 错误 repo github :angular not found! [jspm 安装],我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51279295/

相关文章:

javascript - 静态资源版本控制管理方法 : javascript/css/html files etc

JavaScript 类型错误 : var is not a function

javascript - 带有 jquery 验证的 Materializecss 不起作用

bower - 包管理器 : Bower vs jspm

gulp - 在多个 Aurelia 项目中共享组件

signalr - SystemJS 和 SignalR

javascript - 调用函数失败

javascript - 如何在javascript中组合两个对象?

html - JSPM 包不加载 HTML 文件

typescript - 带有 TypeScript 转译器的 JSPM bundle