Cannot Install Kendo UI from Bower
Environment
Product | Progress® Kendo UI® for jQuery |
NodeJS | 7.10.0 |
NPM | 4.2.0 |
Bower Version | 1.8.0 |
Description
I use Git Credential Manager. After it prompts for my username and password, Bower authentication fails with the Authentication failed
error message, and I am not able to install Kendo UI.
Solution
Use a bower.json
file with the credentials as part of the URL. Encode both the password and the credentials.
/*
Actual Username: jdoe@missingpersons.com
Encoded Username: jdoe%40missingpersons.com
Actual Password: $password!
Encoded Password: %24password%21
*/
As a result, the bower.json
file reads https://[EncodedUsername]:[EncodedPassword]@bower.telerik.com/bower-kendo-ui.git#~2017.1.118
.
"dependencies": {
"kendo-ui":"https://jdoe%40missingpersons.com:%24password%21@bower.telerik.com/bower-kendo-ui.git#~2017.1.118"
}