'Is there a solution for webpack Encore issue with symfony 5 in a host that doesn't support nodejs

My project is on symfony 5 / 6 and I use Webpack Encore, the upload of photos and files works perfectly on the local. But a problem appeared when I transferred my project to prod and after hosting (my hoster does not support nodes js modules) the files are moved to the server, but it remains in the assets folder and not in public/build.

Has anyone encountered this problem?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source