Hello, I am encountering an issue while trying to build a custom Tutor image for Open edX. I’m running the command:
tutor images build openedx-dev
However, during the build process, I get an error at the stage of npm run compile-sass -- --skip-themes
:
ModuleNotFoundError: No module named ‘_sass’
I have already tried the following solutions:
- Running
npm install sass@v1.54.8
- Running
pip install libsass
These did not resolve the problem. My goal is to mount my local edx-platform
directory to Tutor so I can start customizing Open edX, but I keep running into issues.
How can I properly mount the edx-platform
to Tutor and build the image for customization without running into these Sass-related errors?
This started happening when I first tried mounting the edx-platform
with Tutor before making any changes. Once I did this, the errors started appearing right away.
My goal is to mount my local edx-platform
directory to Tutor so I can start customizing Open edX, but I keep running into these Sass-related errors.
I’ve referred to the documentation, but I’m stuck at this point. If anyone has experience in working with Open edX purely as a developer and could suggest the right way to mount the edx-platform
and customize the image without these errors, I’d really appreciate it!
Any ideas or experience with a similar setup would be helpful!