I have a bower install build step which throws an error for this file:
bower file-saver.js#~1.20150507.2
Error:
ECMDERR Failed to execute "git ls-remote --tags --heads https://github.com/Teleborder/FileSaver.js.git", exit code of #128 fatal: Cannot prompt because user interactivity has been disabled. fatal: Cannot prompt because user interactivity has been disabled. 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/'
Given all I need to do is fix a build step and I do have (or wish to use) a git PAT, how can I resolve this error? I am not directly referencing the specified version of the bower package, either, so this is a dependency I can't control (AFAIK).
According to this blog, the Bower has been gradually faded away out from Oct. 2017.
And we have a workaround for you
1.You could remove your file saving line in bower json file
2.Installing this npm package, with "npm install --save [email protected]"