On-the-fly asset generation is broken
TonyBogdanov opened this issue · 3 comments
TonyBogdanov commented
When running the docker image of mautic5, the asset generation of media
files fails for a lot of JS files and outputs their paths instead of their contents.
This issue was originally posted here: mautic/mautic#13076, but I think this is the proper place for it.
The cause is this:
docker-mautic/apache/Dockerfile
Line 62 in 084bcee
All NPM packages are forcefully removed (apart from jquery and vimeo-froogaloop2) for some reason, but that breaks the on-the-fly generation of media/js/libraries.js
for example.
RCheesley commented
Thanks for flagging up the issue @TonyBogdanov - will share it in the Docker channel on Slack and hopefully someone can jump in and take a look!