Hi,
I love using HivePress, but I ran into a major issue that completely breaks it on hosting platforms (such as Cloudways). HivePress seems to rely on files located inside the node_modules folder to function. However, Cloudways, and many other hosts, deliberately exclude node_modules folders from their backup and restoration routines. They seem to do this because these folders contain thousands of tiny files that bloat backups, cause server timeouts and file sizes can be quite large.
From time to time, I need to restore the entire site. When I restore the site, Cloudways skips the node_modules folder contents, so they’re not restored (i.e. the folder is completely empty). This occurs for at least the Reviews plugin and Bookings plugin, as well as HivePress overall. This breaks the functionality of the frontend and backend of the website and results in multiple console errors, sometimes 40+, because the HivePress core dependency files from node_modules are missing after the restore. I’m unsure if other files or folders are also skipped.
The only way I can fix this issue after restoring the site is to deactivate the affected plugins, delete them, and then reinstall them. Could you let me know if you can look into a fix for this? I would love to keep using the plugin safely but can’t do so as it stands.
Thank you.