Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On-the-fly asset generation is broken #281

Open
TonyBogdanov opened this issue May 2, 2024 · 1 comment
Open

On-the-fly asset generation is broken #281

TonyBogdanov opened this issue May 2, 2024 · 1 comment

Comments

@TonyBogdanov
Copy link

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:

find /opt/mautic/node_modules -mindepth 1 -maxdepth 1 -not \( -name 'jquery' -or -name 'vimeo-froogaloop2' \) | xargs rm -rf

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
Copy link
Sponsor Member

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants