I have installed tutor ironwood on ubuntu 20.04 server. while using the command tutor images build openedx, I am getting the following error:
=> ERROR [production 27/29] RUN openedx-assets themes && openedx-ass 1.9s
[production 27/29] RUN openedx-assets themes && openedx-assets collect – settings=tutor.assets && rdfind -makesymlinks true -followsymlinks true /ope nedx/staticfiles/:
#0 1.701 Compiling lms sass assets from theme /openedx/themes/indigo…
#0 1.706 Traceback (most recent call last):
#0 1.706 File “/openedx/bin/openedx-assets”, line 218, in
#0 1.706 main()
#0 1.706 File “/openedx/bin/openedx-assets”, line 89, in main
#0 1.706 args.func(args)
#0 1.706 File “/openedx/bin/openedx-assets”, line 153, in run_themes
#0 1.706 assets._compile_sass(system, Path(theme_path), False, False, )
#0 1.706 File “/openedx/edx-platform/pavelib/assets.py”, line 558, in compile sass
#0 1.706 sass.compile(
#0 1.706 File “/openedx/venv/lib/python3.8/site-packages/sass.py”, line 644, i n compile
#0 1.706 raise CompileError(v)
#0 1.706 sass.CompileError: b’Error: argument$color
ofdarken($color, $amoun t)
must be a color\n\n Backtrace:\n \tnode_modules/bootstrap/scss/ variables.scss:152, in functiondarken
\n \tnode_modules/bootstrap/scss/ variables.scss:152\n on line 152 of node_modules/bootstrap/scss/_variable s.scss\n>> $link-hover-color: darken($link-color, 15%) !default;\n – --------------------------^\n’
Dockerfile:188
187 | COPY --chown=app:app ./themes/ /openedx/themes/
188 | >>> RUN openedx-assets themes
189 | >>> && openedx-assets collect --settings=tutor.assets
190 | >>> # De-duplicate static assets with symlinks
191 | >>> && rdfind -makesymlinks true -followsymlinks true /openedx/static files/
192 |
---|
ERROR: failed to solve: process “/bin/sh -c openedx-assets themes && openedx -assets collect --settings=tutor.assets && rdfind -makesymlinks true -follow symlinks true /openedx/staticfiles/” did not complete successfully: exit code: 1 |
Error: Command failed with status 1: docker build -t docker.io/overhangio/opened x:15.3.3 /root/.local/share/tutor/env/build/openedx |
How to resolve the error please help.