Open cenouralm opened 3 years ago
Here's the full output from the command:
https://gist.github.com/slint/5acee8c9e4e493ab13c5d1dc0356cb0b
@asenna2 were you able to find a work around for this issue?
@asenna2 I have the same issue, could you tell me how you solved it?
The follow ups listed above mention another issue, which is related to python version being incompatible with dependency kombu
, which specifically requires python 3.8. Locally I managed to fix it using image centos8-python:3.8
obtained from invenio docker repository. Needs further testing though.
I came across the error mentioned in the original comment.
./docker/build-images.sh
my-site-base
my-site
from base imagemy-site
is being built, it runs the command RUN invenio webpack build
, which yields the error mentioned before.ERROR in ./js/invenio_theme/templates.js
Module not found: Error: Can't resolve '@templates' in '/opt/invenio/var/instance/assets/js/invenio_theme'
@ ./js/invenio_theme/templates.js 26:19-28:47
@ ./js/invenio_search_ui/util.js
@ ./js/invenio_search_ui/app.js
This issue is meant to be fixed in https://github.com/inveniosoftware/training/pull/115
This issue happens when using the script start-from.sh
in some sections of the training. Some of these sections contain a folder called solution
and its contents eventually are copied to invenio's instance folder. As it happens, some config.py
from these solution
folders are faulty, creating the error Error: Can't resolve '@templates'
When running
./docker/build-images.sh
it shows ```#8 220.3 ERROR in ./js/invenio_theme/templates.js8 220.3 Module not found: Error: Can't resolve '@templates' in '/opt/invenio/var/instance/assets/js/invenio_theme'```