bower install | GutHub keeps asking for github username & password

Created on 27 Oct 2017  Â·  7Comments  Â·  Source: bower/bower

I am struggling with this issue while installing bower install it keeps asking for github username and password everytime, does anyone has any idea or faces this issue ?

Error while installing -

image

Most helpful comment

It's because this repo/file doesn't exist anymore, probably.

On Fri, Oct 27, 2017 at 10:39 AM, GRawatCoder notifications@github.com
wrote:

I am struggling with this issue while installing bower install it keeps
asking for github username and password everytime, does anyone has any idea
or faces this issue ?

Error while installing -

[image: image]
https://user-images.githubusercontent.com/22786031/32095318-60d0efc4-bb20-11e7-883f-28f109efcf5b.png

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/bower/bower/issues/2490, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAR2DZVx_AtS--I6fcbxpCcoSV6X16Zsks5swZbcgaJpZM4QIuUU
.

All 7 comments

It's because this repo/file doesn't exist anymore, probably.

On Fri, Oct 27, 2017 at 10:39 AM, GRawatCoder notifications@github.com
wrote:

I am struggling with this issue while installing bower install it keeps
asking for github username and password everytime, does anyone has any idea
or faces this issue ?

Error while installing -

[image: image]
https://user-images.githubusercontent.com/22786031/32095318-60d0efc4-bb20-11e7-883f-28f109efcf5b.png

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/bower/bower/issues/2490, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAR2DZVx_AtS--I6fcbxpCcoSV6X16Zsks5swZbcgaJpZM4QIuUU
.

Thanks sheerun. I found owl carousel doesn't exist anymore ob bower.

how do i install owl-carousel now ? do you have any suggestion ?

maybe something like bower install OwlCarousel2/OwlCarousel2

updated the owl.carousel version mentioned in bower.json as ow.carousel 1.3.2 is not available on github repo which is why it keeps asking for github username and password.

I am getting the similar issue when I include blockUI in bower.json file. Git login popup is getting triggered and getting the following error message.

Error in plugin 'gulp-bower'
Message:
Failed to execute "git ls-remote --tags --heads https://github.com/ueqt/blockui.git", exit code of #128
Logon failed, use ctrl+c to cancel basic credential prompt.
bash: /dev/tty: No such device or address
error: failed to execute prompt script (exit code 1)
fatal: could not read Username for 'https://github.com/': Invalid argument

Details:
code: ECMDERR
details: Logon failed, use ctrl+c to cancel basic credential prompt.
bash: /dev/tty: No such device or address
error: failed to execute prompt script (exit code 1)
fatal: could not read Username for 'https://github.com/': Invalid argument

exitCode: 128
data: [object Object]

I have same issue for blockUI:

Command:

# bower install --allow-root --verbose

Traceback:

bower blockUI#2.70                                          ECMDERR Failed to execute "git ls-remote --tags --heads https://github.com/ueqt/blockui.git", exit code of #128 remote: Invalid username or password. fatal: Authentication failed for 'https://github.com/ueqt/blockui.git/'

Additional error details:
remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/ueqt/blockui.git/'

Stack trace:
Error: Failed to execute "git ls-remote --tags --heads https://github.com/ueqt/blockui.git", exit code of #128
remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/ueqt/blockui.git/'
    at createError (/usr/local/lib/node_modules/bower/lib/util/createError.js:4:15)
    at ChildProcess.<anonymous> (/usr/local/lib/node_modules/bower/lib/util/cmd.js:102:21)
    at emitTwo (events.js:125:13)
    at ChildProcess.emit (events.js:213:7)
    at maybeClose (internal/child_process.js:927:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
From previous event:
    at executeCmd (/usr/local/lib/node_modules/bower/lib/util/cmd.js:61:22)
    at PThrottler._processEntry (/usr/local/lib/node_modules/bower/lib/node_modules/p-throttler/index.js:89:25)
    at PThrottler._processQueue (/usr/local/lib/node_modules/bower/lib/node_modules/p-throttler/index.js:67:18)
    at Array.forEach (<anonymous>)
    at PThrottler._onFulfill (/usr/local/lib/node_modules/bower/lib/node_modules/p-throttler/index.js:121:17)

Console trace:
Error
    at StandardRenderer.error (/usr/local/lib/node_modules/bower/lib/renderers/StandardRenderer.js:81:37)
    at Logger.<anonymous> (/usr/local/lib/node_modules/bower/lib/bin/bower.js:110:26)
    at emitOne (events.js:115:13)
    at Logger.emit (events.js:210:7)
    at Logger.emit (/usr/local/lib/node_modules/bower/lib/node_modules/bower-logger/lib/Logger.js:29:39)
    at /usr/local/lib/node_modules/bower/lib/commands/index.js:48:20
    at _rejected (/usr/local/lib/node_modules/bower/lib/node_modules/q/q.js:844:24)
    at /usr/local/lib/node_modules/bower/lib/node_modules/q/q.js:870:30
    at Promise.when (/usr/local/lib/node_modules/bower/lib/node_modules/q/q.js:1122:31)
    at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/bower/lib/node_modules/q/q.js:788:41)
System info:
Bower version: 1.8.2
Node version: 8.6.0
OS: Linux 4.15.0-23-generic x64

Fixed:
https://github.com/bower/bower/issues/2517#issuecomment-395717660

Was this page helpful?
0 / 5 - 0 ratings

Related issues

happypoulp picture happypoulp  Â·  6Comments

binarylegit picture binarylegit  Â·  4Comments

svenstaro picture svenstaro  Â·  7Comments

olach picture olach  Â·  5Comments

javasgl picture javasgl  Â·  4Comments