Just make glitch system to wipe node_modules if the size exceeding the maximum capacity, Or pause the server then log Your project has been paused due to the node_modules directory exceeding the allowed maximum capacity. Considering doing module reinstallation by running "<command here>".
That seems quite strange, altought Glitch sometimes also suspends for “Error while preparing project”. Maybe support [at] glitch [dot] com can help!
last time this came up, it was said that this is difficult to resolve because Glitch would automatically reinstall the dependencies, which they expect to cause the node_modules space exceedance again right away