Bower install拉取失败解决
# 报错日志还原
bower angular-animate#v1.8.3 progress Receiving objects: 30% (29315/97716), 27.63 MiB | 1.36 MiB/s
bower angular#v1.8.3 progress Receiving objects: 34% (33224/97716), 32.96 MiB | 1.76 MiB/s
bower bootstrap#v3.3.7 progress Receiving objects: 32% (65578/204929), 18.23 MiB | 2.46 MiB/s
bower angular-mocks#v1.8.3 progress Receiving objects: 82% (80128/97716), 60.36 MiB | 2.83 MiB/s
bower angular-route#v1.8.3 progress Receiving objects: 78% (76219/97716), 57.61 MiB | 3.14 MiB/s
bower angular-animate#v1.8.3 progress Receiving objects: 32% (31371/97716), 29.00 MiB | 1.31 MiB/s
bower angular#v1.8.3 progress Receiving objects: 34% (33843/97716), 34.92 MiB | 1.82 MiB/s
bower bootstrap#v3.3.7 progress Receiving objects: 34% (69676/204929), 20.50 MiB | 2.46 MiB/s
bower angular-bootstrap#0.11.0 ECMDERR Failed to execute "git ls-remote --tags --heads https://gitee.com/mirrors/angular-bootstrap.git", exit code of #128 remote: [session-d54a6d81] Username for 'https: Incorrect username or password (access token) fatal: Authentication failed for 'https://gitee.com/mirrors/angular-bootstrap.git/'
Additional error details:
remote: [session-d54a6d81] Username for 'https: Incorrect username or password (access token)
fatal: Authentication failed for 'https://gitee.com/mirrors/angular-bootstrap.git/'
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Ambari Admin View 2.8.0.0.0:
[INFO]
[INFO] Ambari Admin View .................................. FAILURE [ 24.818 s]
[INFO] ambari-utility ..................................... SKIPPED
[INFO] Ambari Server SPI .................................. SKIPPED
[INFO] Ambari Service Advisor ............................. SKIPPED
[INFO] Ambari Server ...................................... SKIPPED
[INFO] Ambari Functional Tests ............................ SKIPPED
[INFO] Ambari Agent ....................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 25.364 s
[INFO] Finished at: 2025-05-25T18:24:50+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (Bower install) on project ambari-admin: Command execution failed.: Process exited with an error: 1 (Exit value: 1) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
(py27_env) [root@hadoop1 ambari]#
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# 解决方案全览
可以参照本站Bower 镜像加速 方案,解决