bower install ionic-platform-web-client#^0.2.1 causes an error

I assume that the error is caused after the installation attempt `ionic-platform-web-client#^0.2.1` 

```
# bower.json

{
"name": "testapp",
"version": "0.0.0",
"dependencies": {
"ionic": "driftyco/ionic-bower#1.3.1",
"ngCordova": "v0.1.14-alpha",
"angular-translate": "~2.6.1",
"angular-translate-loader-partial": "~2.6.1",
"angular-translate-loader-static-files": "~2.6.1",
"angular-google-maps": "~2.1.5",
"ionic-platform-web-client": "^0.2.1",
"ionic-service-core": "^0.1.10",
"ionic-rating": "^0.3.0",
"angular-stripe-checkout": "^5.1.0",
"angular-youtube-mb": "^1.3.1"
},
"devDependencies": {
"ionic": "driftyco/ionic-bower#1.3.1",
"ngCordova": "v0.1.14-alpha",
"angular-translate": "~2.6.1",
"angular-translate-loader-partial": "~2.6.1",
"angular-translate-loader-static-files": "~2.6.1",
"angular-google-maps": "~2.1.5",
"ionic-platform-web-client": "^0.2.1",
"ionic-service-core": "^0.1.10"
},
"resolutions": {
"angular": ">= 1.3.20"
}
}

```

Error:

```

bower ionic-platform-web-client#^0.2.1 ECMDERR Failed to execute "git ls-remote --tags --heads https://github.com/driftyco/ionic-platform-web-client.git", exit code of #128 fatal: HttpRequestException encountered. An error occurred while se
nding the request. 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': No error

Additional error details:
fatal: HttpRequestException encountered.
An error occurred while sending the request.
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': No error

```

 

any help pleace

0
1 comment

doesn't look related to ionic/bower. The https://github.com/driftyco/ionic-platform-web-client.git/ repoisitory seems to be private and requires autentification. And Git command is failing because it can't get a tty to let you input your Github credentials. Similar to https://github.com/git-for-windows/git/issues/327... See also https://github.com/tschaub/gh-pages/issues/230 for some hints

0

Please sign in to leave a comment.