[Composer\Repository\InvalidRepositoryException] No valid bower.json was found in any branch or tag of https://github.com/twbs/bootstrap.git, could not load a package from it.

19-03-18 11:28 字数 282 阅读 2475

在composer安装fecshop时,报了如下的错误信息,意思是没有找到bootstrap的包

alt text

这个时候你需要在生成一个github的token,生成地址 生成github token ,Token description 随便填,然后拉倒页面最后,点击Generatre token,然后复制生成的token,放到项目根目录的composer.json里。

"config": {
    "process-timeout": 1800,
    "github-oauth": {
      "github.com": "此处输入您的github授权码"
      }
},

然后在执行composer update更新依赖包即可。

0人点赞>
关注 收藏 改进 举报
0 条评论
排序方式 时间 投票
快来抢占一楼吧
请登录后发表评论
站长 @ 十七度
文章
382
粉丝
23
喜欢
193
收藏
31
排名 : 1
访问 : 130.58万
私信