Tutor images build openedx failed

Hi all, I recently installed OpenEdx using Tutor. I was trying to change the theme to Indigo and the tutor images build openedx command failed. I think its around step 53 of 93

I am using the Amazon Linux 2 AMI with docker 19.03.13, docker-compose 1.22.0 (not the latest version).
I have tried the command several times on different installations with no success yet.
I tried it on a fresh install, a third party theme and in this case the Indigo theme.

Below are the logs that I have captured.

npm info lifecycle karma-spec-reporter@0.0.20~install: karma-spec-reporter@0.0.20
npm info lifecycle karma-webpack@2.0.9~install: karma-webpack@2.0.9
npm info lifecycle moment-timezone@0.5.14~install: moment-timezone@0.5.14
npm info lifecycle node-sass@4.12.0~install: node-sass@4.12.0

node-sass@4.12.0 install /openedx/edx-platform/node_modules/node-sass
node scripts/install.js

The command '/bin/sh -c npm install --verbose --registry=$NPM_REGISTRY' returned a non-zero code: 1
Error: Command failed with status 1: docker build -t docker.io/overhangio/openedx:11.1.3 /home/ec2-user/.local/share/tutor/env/build/openedx

Thanks for your input. I’m not sure what I am doing incorrectly.

Thanks, Kevin

Hi @bandwidth! What is the size of your EC2 instance? This is almost certainly a memory or disk space issue. It is recommended that you run at least a t3a.large instance with 8GB RAM.

Thanks @regis. Now I’m able to set the Indigo theme and rebuild the images.