ikto / edx-configuration

a simple, but flexible, way for anyone to stand up an instance of the edX platform that is fully configured and ready-to-go (IKTO fork)
GNU Affero General Public License v3.0
0 stars 0 forks source link

ansible doesn't install sass compiler #2

Closed mpolishchuck closed 8 years ago

mpolishchuck commented 8 years ago
TASK: [insights | install bower dependencies] *********************************
. /edx/app/insights/nodeenvs/insights/bin/activate && /edx/app/insights/edx_analytics_dashboard/node_modules/.bin/bower install --production --config.interactive=false
bower underscore                                              extra-resolution Unnecessary resolution: underscore#~1.8.2
bower cldrjs                                                  extra-resolution Unnecessary resolution: cldrjs#~0.4.4
bower                                                                  ECMDERR Failed to execute "./bower-post-install.sh", exit code of #127 ./bower-post-install.sh: line 33: sassc: command not found

Additional error details:
./bower-post-install.sh: line 33: sassc: command not found
stdout: bower edx-ui-toolkit#29759050aff2f4f3cb6921432855ad057bd69bb1           cached git://github.com/edx/edx-ui-toolkit.git#29759050af
bower edx-ui-toolkit#29759050aff2f4f3cb6921432855ad057bd69bb1         validate 29759050af against git://github.com/edx/edx-ui-toolkit.git#29759050aff2f4f3cb6921432855ad057bd69bb1
bower natural-sort#dbf4ca259b327a488bd1d7897fd46d80c414a7e0             cached git://github.com/overset/javascript-natural-sort.git#dbf4ca259b
bower natural-sort#dbf4ca259b327a488bd1d7897fd46d80c414a7e0           validate dbf4ca259b against git://github.com/overset/javascript-natural-sort.git#dbf4ca259b327a488bd1d7897fd46d80c414a7e0
bower requirejs-plugins#~1.0.3                                          cached https://github.com/millermedeiros/requirejs-plugins.git#1.0.3
bower requirejs-plugins#~1.0.3                                        validate 1.0.3 against https://github.com/millermedeiros/requirejs-plugins.git#~1.0.3
bower globalize#1.1.1                                                   cached https://github.com/jquery/globalize.git#1.1.1
bower globalize#1.1.1                                                 validate 1.1.1 against https://github.com/jquery/globalize.git#1.1.1
bower bootstrapaccessibilityplugin#~1.0.3                               cached https://github.com/paypal/bootstrap-accessibility-plugin.git#1.0.4
bower bootstrapaccessibilityplugin#~1.0.3                             validate 1.0.4 against https://github.com/paypal/bootstrap-accessibility-plugin.git#~1.0.3
bower underscore#~1.8.2                                                 cached https://github.com/jashkenas/underscore.git#1.8.3
bower underscore#~1.8.2                                               validate 1.8.3 against https://github.com/jashkenas/underscore.git#~1.8.2
bower backbone#~1.1.2                                                   cached https://github.com/jashkenas/backbone.git#1.1.2
bower backbone#~1.1.2                                                 validate 1.1.2 against https://github.com/jashkenas/backbone.git#~1.1.2
bower nvd3#~1.8.4                                                       cached https://github.com/novus/nvd3.git#1.8.4
bower nvd3#~1.8.4                                                     validate 1.8.4 against https://github.com/novus/nvd3.git#~1.8.4
bower requirejs#~2.1.15                                                 cached https://github.com/jrburke/requirejs-bower.git#2.1.22
bower requirejs#~2.1.15                                               validate 2.1.22 against https://github.com/jrburke/requirejs-bower.git#~2.1.15
bower jasmine#~2.0.4                                                    cached https://github.com/pivotal/jasmine.git#2.0.4
bower jasmine#~2.0.4                                                  validate 2.0.4 against https://github.com/pivotal/jasmine.git#~2.0.4
bower topojson#~1.4.3                                                   cached https://github.com/mbostock/topojson-bower.git#1.4.9
bower topojson#~1.4.3                                                 validate 1.4.9 against https://github.com/mbostock/topojson-bower.git#~1.4.3
bower bootstrap-sass-official#v3.2.0+2                                  cached https://github.com/twbs/bootstrap-sass.git#3.2.0+2
bower bootstrap-sass-official#v3.2.0+2                                validate 3.2.0+2 against https://github.com/twbs/bootstrap-sass.git#v3.2.0+2
bower datatables#~1.10.2                                                cached https://github.com/DataTables/DataTables.git#1.10.12
bower datatables#~1.10.2                                              validate 1.10.12 against https://github.com/DataTables/DataTables.git#~1.10.2
bower jquery#~1.11.1                                                    cached https://github.com/jquery/jquery-dist.git#1.11.3
bower jquery#~1.11.1                                                  validate 1.11.3 against https://github.com/jquery/jquery-dist.git#~1.11.1
bower moment#~2.8.3                                                     cached https://github.com/moment/moment.git#2.8.4
bower moment#~2.8.3                                                   validate 2.8.4 against https://github.com/moment/moment.git#~2.8.3
bower datamaps#~0.3.4                                                   cached https://github.com/markmarkoh/datamaps.git#0.3.7
bower datamaps#~0.3.4                                                 validate 0.3.7 against https://github.com/markmarkoh/datamaps.git#~0.3.4
bower backgrid#^0.3.5                                                   cached https://github.com/wyuenho/backgrid.git#0.3.7
bower backgrid#^0.3.5                                                 validate 0.3.7 against https://github.com/wyuenho/backgrid.git#^0.3.5
bower backgrid-paginator#^0.3.5                                         cached https://github.com/wyuenho/backgrid-paginator.git#0.3.9
bower backgrid-paginator#^0.3.5                                       validate 0.3.9 against https://github.com/wyuenho/backgrid-paginator.git#^0.3.5
bower text#^2.0.14                                                      cached https://github.com/requirejs/text.git#2.0.15
bower text#^2.0.14                                                    validate 2.0.15 against https://github.com/requirejs/text.git#^2.0.14
bower nprogress#^0.2.0                                                  cached https://github.com/rstacruz/nprogress.git#0.2.0
bower nprogress#^0.2.0                                                validate 0.2.0 against https://github.com/rstacruz/nprogress.git#^0.2.0
bower backgrid-filter#^0.3.5                                            cached https://github.com/wyuenho/backgrid-filter.git#0.3.7
bower backgrid-filter#^0.3.5                                          validate 0.3.7 against https://github.com/wyuenho/backgrid-filter.git#^0.3.5
bower uri.js#1.17                                                       cached https://github.com/medialize/URI.js.git#1.17.1
bower uri.js#1.17                                                     validate 1.17.1 against https://github.com/medialize/URI.js.git#1.17
bower font-awesome#~4.6.3                                               cached https://github.com/FortAwesome/Font-Awesome.git#4.6.3
bower font-awesome#~4.6.3                                             validate 4.6.3 against https://github.com/FortAwesome/Font-Awesome.git#~4.6.3
bower axe-core#^1.1.1                                                   cached https://github.com/dequelabs/axe-core.git#1.1.1
bower axe-core#^1.1.1                                                 validate 1.1.1 against https://github.com/dequelabs/axe-core.git#^1.1.1
bower marionette#~2.4.4                                                 cached https://github.com/marionettejs/backbone.marionette.git#2.4.7
bower marionette#~2.4.4                                               validate 2.4.7 against https://github.com/marionettejs/backbone.marionette.git#~2.4.4
bower edx-pattern-library#0.16.6                                        cached https://github.com/edx/ux-pattern-library.git#0.16.6
bower edx-pattern-library#0.16.6                                      validate 0.16.6 against https://github.com/edx/ux-pattern-library.git#0.16.6
bower text#~2.0.12                                                      cached https://github.com/requirejs/text.git#2.0.15
bower text#~2.0.12                                                    validate 2.0.15 against https://github.com/requirejs/text.git#~2.0.12
bower backbone#~1.2.3                                                   cached https://github.com/jashkenas/backbone.git#1.2.3
bower backbone#~1.2.3                                                 validate 1.2.3 against https://github.com/jashkenas/backbone.git#~1.2.3
bower cldr-data#29.0.0                                                  cached https://github.com/rxaviers/cldr-data-bower.git#29.0.0
bower cldr-data#29.0.0                                                validate 29.0.0 against https://github.com/rxaviers/cldr-data-bower.git#29.0.0
bower jquery#~2.2.0                                                     cached https://github.com/jquery/jquery-dist.git#2.2.4
bower jquery#~2.2.0                                                   validate 2.2.4 against https://github.com/jquery/jquery-dist.git#~2.2.0
bower d3#~3.5.3                                                         cached https://github.com/mbostock-bower/d3-bower.git#3.5.17
bower d3#~3.5.3                                                       validate 3.5.17 against https://github.com/mbostock-bower/d3-bower.git#~3.5.3
bower urijs#~1.16.1                                                     cached https://github.com/medialize/URI.js.git#1.16.1
bower urijs#~1.16.1                                                   validate 1.16.1 against https://github.com/medialize/URI.js.git#~1.16.1
bower backbone.paginator#~2.0.3                                         cached https://github.com/addyosmani/backbone.paginator.git#2.0.5
bower backbone.paginator#~2.0.3                                       validate 2.0.5 against https://github.com/addyosmani/backbone.paginator.git#~2.0.3
bower sinon#~1.17.3                                                     cached https://github.com/cjohansen/Sinon.JS.git#1.17.5
bower sinon#~1.17.3                                                   validate 1.17.5 against https://github.com/cjohansen/Sinon.JS.git#~1.17.3
bower cldrjs#0.4.4                                                      cached https://github.com/rxaviers/cldrjs.git#0.4.4
bower cldrjs#0.4.4                                                    validate 0.4.4 against https://github.com/rxaviers/cldrjs.git#0.4.4
bower d3#^3.4.4                                                         cached https://github.com/mbostock-bower/d3-bower.git#3.5.17
bower d3#^3.4.4                                                       validate 3.5.17 against https://github.com/mbostock-bower/d3-bower.git#^3.4.4
bower jquery#>= 1.9.0                                                   cached https://github.com/jquery/jquery-dist.git#2.2.4
bower jquery#>= 1.9.0                                                 validate 2.2.4 against https://github.com/jquery/jquery-dist.git#>= 1.9.0
bower jquery#>= 1.9.0                                                      new version for https://github.com/jquery/jquery-dist.git#>= 1.9.0
bower jquery#>= 1.9.0                                                  resolve https://github.com/jquery/jquery-dist.git#>= 1.9.0
bower jquery#>= 1.9.0                                                 checkout 3.1.1
bower d3#~3.3.8                                                         cached https://github.com/mbostock-bower/d3-bower.git#3.3.13
bower d3#~3.3.8                                                       validate 3.3.13 against https://github.com/mbostock-bower/d3-bower.git#~3.3.8
bower backbone.paginator#^2.0.5                                         cached https://github.com/addyosmani/backbone.paginator.git#2.0.5
bower backbone.paginator#^2.0.5                                       validate 2.0.5 against https://github.com/addyosmani/backbone.paginator.git#^2.0.5
bower lunr.js#^0.7.0                                                    cached https://github.com/olivernn/lunr.js.git#0.7.1
bower lunr.js#^0.7.0                                                  validate 0.7.1 against https://github.com/olivernn/lunr.js.git#^0.7.0
bower bi-app-sass#~1.1.0                                                cached https://github.com/anasnakawa/bi-app-sass.git#1.1.0
bower bi-app-sass#~1.1.0                                              validate 1.1.0 against https://github.com/anasnakawa/bi-app-sass.git#~1.1.0
bower bourbon#~4.2.3                                                    cached https://github.com/thoughtbot/bourbon.git#4.2.7
bower bourbon#~4.2.3                                                  validate 4.2.7 against https://github.com/thoughtbot/bourbon.git#~4.2.3
bower susy#~2.2.5                                                       cached https://github.com/ericam/susy.git#2.2.12
bower susy#~2.2.5                                                     validate 2.2.12 against https://github.com/ericam/susy.git#~2.2.5
bower breakpoint-sass#~2.6.1                                            cached https://github.com/Team-Sass/breakpoint.git#2.6.1
bower breakpoint-sass#~2.6.1                                          validate 2.6.1 against https://github.com/Team-Sass/breakpoint.git#~2.6.1
bower backbone.wreqr#^1.0.0                                             cached https://github.com/marionettejs/backbone.wreqr.git#1.3.7
bower backbone.wreqr#^1.0.0                                           validate 1.3.7 against https://github.com/marionettejs/backbone.wreqr.git#^1.0.0
bower backbone.babysitter#^0.1.0                                        cached https://github.com/marionettejs/backbone.babysitter.git#0.1.12
bower backbone.babysitter#^0.1.0                                      validate 0.1.12 against https://github.com/marionettejs/backbone.babysitter.git#^0.1.0
bower sassy-maps#<1.0.0                                                 cached https://github.com/Team-Sass/Sassy-Maps.git#0.4.0
bower sassy-maps#<1.0.0                                               validate 0.4.0 against https://github.com/Team-Sass/Sassy-Maps.git#<1.0.0
bower jquery#>= 1.9.0                                                 resolved https://github.com/jquery/jquery-dist.git#3.1.1

Please note that,
    edx-analytics-dashboard depends on backbone#~1.1.2 which resolved to backbone#1.1.2
    backgrid#0.3.7, backgrid-filter#0.3.7, edx-ui-toolkit#29759050af depends on backbone#~1.2.3 which resolved to backbone#1.2.3
    backbone.paginator#2.0.5, backbone.paginator#2.0.5 depends on backbone#^1.2.3 which resolved to backbone#1.2.3
    backbone.babysitter#0.1.12, backbone.wreqr#1.3.7 depends on backbone#>=0.9.9 <=1.3.x which resolved to backbone#1.2.3
    backgrid-paginator#0.3.9 depends on backbone#1.1.2 || 1.2.3 || ~1.3.2 which resolved to backbone#1.2.3
    marionette#2.4.7 depends on backbone#1.0.0 - 1.3.x which resolved to backbone#1.2.3
Resort to using backbone#~1.2.3 which resolved to backbone#1.2.3
Code incompatibilities may occur.

Please note that,
    edx-analytics-dashboard depends on jquery#~1.11.1 which resolved to jquery#1.11.3
    edx-ui-toolkit#29759050af depends on jquery#~2.2.0 which resolved to jquery#2.2.4
    datatables#1.10.12 depends on jquery#>=1.7.0 which resolved to jquery#2.2.4
    bootstrap-sass-official#3.2.0+2 depends on jquery#>= 1.9.0 which resolved to jquery#3.1.1
Resort to using jquery#~1.11.1 which resolved to jquery#1.11.3
Code incompatibilities may occur.

Please note that,
    datamaps#0.3.7 depends on d3#~3.3.8 which resolved to d3#3.3.13
    nvd3#1.8.4 depends on d3#^3.4.4 which resolved to d3#3.5.17
    edx-analytics-dashboard depends on d3#~3.5.3 which resolved to d3#3.5.17
Resort to using d3#~3.5.3 which resolved to d3#3.5.17
Code incompatibilities may occur.

bower edx-ui-toolkit#29759050aff2f4f3cb6921432855ad057bd69bb1          install edx-ui-toolkit#29759050af
bower natural-sort#dbf4ca259b327a488bd1d7897fd46d80c414a7e0            install natural-sort#dbf4ca259b
bower bootstrapaccessibilityplugin#~1.0.3                              install bootstrapaccessibilityplugin#1.0.4
bower requirejs-plugins#~1.0.3                                         install requirejs-plugins#1.0.3
bower globalize#1.1.1                                                  install globalize#1.1.1
bower underscore#~1.8.2                                                install underscore#1.8.3
bower backbone#~1.2.3                                                  install backbone#1.2.3
bower requirejs#~2.1.15                                                install requirejs#2.1.22
bower nvd3#~1.8.4                                                      install nvd3#1.8.4
bower jasmine#~2.0.4                                                   install jasmine#2.0.4
bower topojson#~1.4.3                                                  install topojson#1.4.9
bower bootstrap-sass-official#v3.2.0+2                                 install bootstrap-sass-official#3.2.0+2
bower jquery#~1.11.1                                                   install jquery#1.11.3
bower datatables#~1.10.2                                               install datatables#1.10.12
bower datamaps#~0.3.4                                                  install datamaps#0.3.7
bower moment#~2.8.3                                                    install moment#2.8.4
bower backgrid#^0.3.5                                                  install backgrid#0.3.7
bower text#~2.0.12                                                     install text#2.0.15
bower backgrid-paginator#^0.3.5                                        install backgrid-paginator#0.3.9
bower nprogress#^0.2.0                                                 install nprogress#0.2.0
bower backgrid-filter#^0.3.5                                           install backgrid-filter#0.3.7
bower urijs#~1.16.1                                                    install urijs#1.16.1
bower uri.js#1.17                                                      install uri.js#1.17.1
bower axe-core#^1.1.1                                                  install axe-core#1.1.1
bower font-awesome#~4.6.3                                              install font-awesome#4.6.3
bower edx-pattern-library#0.16.6                                       install edx-pattern-library#0.16.6
bower cldr-data#29.0.0                                                 install cldr-data#29.0.0
bower marionette#~2.4.4                                                install marionette#2.4.7
bower d3#^3.4.4                                                        install d3#3.5.17
bower backbone.paginator#^2.0.5                                        install backbone.paginator#2.0.5
bower cldrjs#0.4.4                                                     install cldrjs#0.4.4
bower sinon#~1.17.3                                                    install sinon#1.17.5
bower lunr.js#^0.7.0                                                   install lunr.js#0.7.1
bower bi-app-sass#~1.1.0                                               install bi-app-sass#1.1.0
bower susy#~2.2.5                                                      install susy#2.2.12
bower bourbon#~4.2.3                                                   install bourbon#4.2.7
bower breakpoint-sass#~2.6.1                                           install breakpoint-sass#2.6.1
bower backbone.wreqr#^1.0.0                                            install backbone.wreqr#1.3.7
bower backbone.babysitter#^0.1.0                                       install backbone.babysitter#0.1.12
bower sassy-maps#<1.0.0                                                install sassy-maps#0.4.0
bower                                                              postinstall ./bower-post-install.sh
bower                                                              postinstall GET `https://github.com/unicode-cldr/cldr-core/archive/29.0.0.zip`
bower                                                              postinstall GET `https://github.com/unicode-cldr/cldr-dates-modern/archive/29.0.0.zip`
bower                                                              postinstall GET `https://github.com/unicode-cldr/cldr-cal-buddhist-modern/archive/29.0.0.zip`
bower                                                              postinstall GET `https://github.com/unicode-cldr/cldr-cal-chinese-modern/archive/29.0.0.zip`
bower                                                              postinstall GET `https://github.com/unicode-cldr/cldr-cal-coptic-modern/archive/29.0.0.zip`
bower                                                              postinstall GET `https://github.com/unicode-cldr/cldr-cal-dangi-modern/archive/29.0.0.zip`
bower                                                              postinstall GET `https://github.com/unicode-cldr/cldr-cal-ethiopic-modern/archive/29.0.0.zip`
bower                                                              postinstall GET `https://github.com/unicode-cldr/cldr-cal-hebrew-modern/archive/29.0.0.zip`
bower                                                              postinstall GET `https://github.com/unicode-cldr/cldr-cal-indian-modern/archive/29.0.0.zip`
bower                                                              postinstall GET `https://github.com/unicode-cldr/cldr-cal-islamic-modern/archive/29.0.0.zip`
bower                                                              postinstall GET `https://github.com/unicode-cldr/cldr-cal-japanese-modern/archive/29.0.0.zip`
bower                                                              postinstall GET `https://github.com/unicode-cldr/cldr-cal-persian-modern/archive/29.0.0.zip`
bower                                                              postinstall GET `https://github.com/unicode-cldr/cldr-cal-roc-modern/archive/29.0.0.zip`
bower                                                              postinstall GET `https://github.com/unicode-cldr/cldr-localenames-modern/archive/29.0.0.zip`
bower                                                              postinstall GET `https://github.com/unicode-cldr/cldr-misc-modern/archive/29.0.0.zip`
bower                                                              postinstall GET `https://github.com/unicode-cldr/cldr-numbers-modern/archive/29.0.0.zip`
bower                                                              postinstall GET `https://github.com/unicode-cldr/cldr-segments-modern/archive/29.0.0.zip`
bower                                                              postinstall GET `https://github.com/unicode-cldr/cldr-units-modern/archive/29.0.0.zip`
bower                                                              postinstall Received 30488K total.
bower                                                              postinstall Unpacking it into `./analytics_dashboard/static/bower_components/cldr-data`
bower                                                              postinstall Pre-compiling edX pattern library...
bower                                                              postinstall ./bower-post-install.sh: line 33: sassc: command not found

On the next run this step is assumed as successful. But next steps are failing.

mpolishchuck commented 8 years ago

To repeat this step

rm -rf /edx/app/insights/edx_analytics_dashboard/analytics_dashboard/static/bower_components
mpolishchuck commented 8 years ago

Also seems like ruby is missing too.

mpolishchuck commented 8 years ago

sassc exists here:

/edx/app/insights/venvs/insights/bin/sassc

Possibly updating PATH environment variable will help.

mpolishchuck commented 8 years ago

The bash script (./bower-post-install.sh) got this values of PATH

/edx/app/insights/nodeenvs/insights/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

Should include

/edx/app/insights/venvs/insights/bin