jow- / luci-ng

LuCI on Angular
84 stars 26 forks source link

luci-ng blocks build #34

Closed stintel closed 7 years ago

stintel commented 7 years ago

Image build breaks as input is required:

bower@1.8.0 node_modules/bower
mkdir -p .tmp
touch .tmp/.npm_stamp
node ./node_modules/.bin/bower install
bower angular#~1.5.8            cached https://github.com/angular/bower-angular.git#1.5.11
bower angular#~1.5.8          validate 1.5.11 against https://github.com/angular/bower-angular.git#~1.5.8
bower angular-animate#~1.5.8    cached https://github.com/angular/bower-angular-animate.git#1.5.11
bower angular-animate#~1.5.8  validate 1.5.11 against https://github.com/angular/bower-angular-animate.git#~1.5.8
bower angular-route#~1.5.8      cached https://github.com/angular/bower-angular-route.git#1.5.11
bower angular-route#~1.5.8    validate 1.5.11 against https://github.com/angular/bower-angular-route.git#~1.5.8
bower bootstrap-css-only#~3.0.0 cached https://github.com/fyockm/bootstrap-css-only.git#3.0.3
bower bootstrap-css-only#~3.0.0         validate 3.0.3 against https://github.com/fyockm/bootstrap-css-only.git#~3.0.0
bower angular-bootstrap#~2.1.0            cached https://github.com/angular-ui/bootstrap-bower.git#2.1.4
bower angular-bootstrap#~2.1.0          validate 2.1.4 against https://github.com/angular-ui/bootstrap-bower.git#~2.1.0
bower angular-cookies#^1.6.1              cached https://github.com/angular/bower-angular-cookies.git#1.6.1
bower angular-cookies#^1.6.1            validate 1.6.1 against https://github.com/angular/bower-angular-cookies.git#^1.6.1
bower angular-gettext#^2.3.8              cached https://github.com/rubenv/angular-gettext.git#2.3.8
bower angular-gettext#^2.3.8            validate 2.3.8 against https://github.com/rubenv/angular-gettext.git#^2.3.8
bower angular#>=1.4.0                     cached https://github.com/angular/bower-angular.git#1.6.1
bower angular#>=1.4.0                   validate 1.6.1 against https://github.com/angular/bower-angular.git#>=1.4.0
bower angular#>=1.2.0                     cached https://github.com/angular/bower-angular.git#1.6.1
bower angular#>=1.2.0                   validate 1.6.1 against https://github.com/angular/bower-angular.git#>=1.2.0

Unable to find a suitable version for angular, please choose one by typing one of the numbers below:
    1) angular#1.5.11 which resolved to 1.5.11 and is required by angular-animate#1.5.11, angular-route#1.5.11
    2) angular#~1.5.8 which resolved to 1.5.11 and is required by luci-ng
    3) angular#>=1.4.0 which resolved to 1.6.1 and is required by angular-bootstrap#2.1.4
    4) angular#1.6.1 which resolved to 1.6.1 and is required by angular-cookies#1.6.1
    5) angular#>=1.2.0 which resolved to 1.6.1 and is required by angular-gettext#2.3.8

Prefix the choice with ! to persist it to bower.json
ianchi commented 7 years ago

Thanks for the report, will push updated dependencies list asap.

ianchi commented 7 years ago

Fixed inconsistent dependencies and switched bower to non-interactive mode, so it fails on errors instead of blocking waiting for user input.