Closed fl-brucele closed 2 years ago
Looks like the code that is failing is here: https://github.com/adamghill/django-unicorn/blob/main/django_unicorn/static/unicorn/js/messageSender.js#L227-L231. Maybe the sub-component root is missing for some reason? My example nested component with actions is working for me locally. Feel free to fork it to replicate what you are seeing or make a sample repo that replicates.
Hi @adamghill, I didn't notice that you reply my message. I have that issue when deploying our application on EC2. I am using nginx and gunicorn to deploy the django. Also, I have followed your example too.
@adamghill nvm. I found the root cause. It's about using cache with redis instead.
I got this error when trying to use Action inside sub-component.