Skip to content

Lemur failing to build due to Bower's angular-file-saver dependency #4026

@terraflubb

Description

@terraflubb

Late last week we noticed that Lemur stopped building due to a freshly-broken dependency:

bower file-saver.js#~1.20150507.2     ECMDERR Failed to execute "git ls-remote --tags --heads
https://github.com/Teleborder/FileSaver.js.git", exit code of #128
remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ 
for more information. fatal: Authentication failed for 'https://github.com/Teleborder/FileSaver.js.git/'

The problem is that https://github.com/Teleborder/FileSaver.js.git/ no longer exists. The angular-file-saver dependency is pulling in Teleborder/FileSaver.js, and Teleborder is no longer accessible.

Here is where Lemur is pulling the parent of the bad dependency: https://github.com/Netflix/lemur/blob/master/bower.json#L40

An issue about this over at angular-file-saver has been created ( alferov/angular-file-saver#48 ) and there's even a PR that claims to correct it ( alferov/angular-file-saver#49 ) but that repo's master branch hasn't seen any activity since early 2017, so I don't know what kind of timeline we can expect.

I also found a fresh StackOverflow report of this error (not Lemur-related) with a suggested workaround which I haven't tested yet, which might help others who are stuck: https://stackoverflow.com/questions/71979265/unable-to-resolve-file-saver-js-dependency-file-from-bower-install-angular-file

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions