Hi,
I’m currently having an openedx redwood instance using tutor for installing it.
I would like to proper modify the tutor mfe templates.
I currently having tutor-mfe and tutor indigo plugins, like an classic tutor installation.
I have started by cloning the learner-dashboard template and started changing templates. I have tryed to create a custom docker file & image by retrieving the last “overhangio/openedx-mfe:18.0.0-indigo” image and added the dist folder of custom repository.
My custom dockerfile :
FROM overhangio/openedx-mfe:18.0.0-indigo
RUN rm -rf /openedx/dist/learner-dashboard/*
ADD my-custom-learner-dashboard/dist/* /openedx/dist/learner-dashboard/
Currently when I restart my openedx instance (with tutor local launch) and I navigate on the site I have a white page with following warning on the console :
Ignoring unsupported entryTypes: largest-contentful-paint. [learner-dashboard:2:23448]
No valid entryTypes; aborting registration. [learner-dashboard:2:23448]
Ignoring unsupported entryTypes: layout-shift. [learner-dashboard:2:23544]
The script from “http://apps.local.edly.io/484.2c4bbf923bb92d0680b7.js” was loaded even though its MIME type (“”) is not a valid JavaScript MIME type.
The script from “app.43a265b57cf78f5dc1f1.js” was loaded even though its MIME type (“”) is not a valid JavaScript MIME type.
The script from “http://apps.local.edly.io/runtime.3b64d1d0b3d3851658ce.js” was loaded even though its MIME type (“”) is not a valid JavaScript MIME type.
POSThttps://bam-cell.nr-data.net/events/1/undefined_license_key?a=undefined_application_id&sa=1&v=1212.e95d35c&t=Unnamed Transaction&rst=242416&ck=1&ref=http://apps.local.edly.io/learner-dashboard/[HTTP/1.1 403 728ms]
I would like to know if I do it correctly and if I missing some configuration to have my modification works properly. For exemple I didn’t add anything on the learner-dashboard (env variables, …) expect modify jsx templates.
Thank you in advance