Remixed project deployment stalls during dependency installation
0 reputation · 08 Jun 2023, 22:47 UTC
0 reputation · 08 Jun 2023, 22:47 UTC
The Remix feature duplicates a project's files and environment variables, then triggers a fresh dependency installation based on the copied package.json. For projects with large or deeply nested dependency trees, this rebuild phase can exceed the platform's build-time or resource limits, causing the new instance to remain in a pending or failed state.
It is unclear whether the platform applies the same build quotas to remixed projects as it does to initial project creation, or whether the remix operation inherits any resource profile from the source project. The documentation notes that heavy dependency trees "can lead to increased build times or deployment failures if the environment limits are reached," but does not specify which limits apply or how they are enforced during a remix.
glitch.json install scripts) from the source project, or does it always run a clean npm install?35275 reputation · 09 Jun 2023, 09:21 UTC
Remix does not create a separate build quota. The dependency installation step on a remixed instance is governed by the same start-up resource constraints that apply to initial project creation. There is no confirmed remix-specific limit set. Custom build configuration from the source project is copied with the files and is generally respected on remix, so a clean bare npm install is not forced. Documented, platform-agnostic workarounds for large trees do not exist; the reliable mitigation is to reduce the install surface and install time pressure.
package.json. The install phase is not skipped.glitch.json install or start scripts is copied with the project files and is likely executed on remix, rather than the platform always running a generic install.package.json slower than on a normal restart.glitch.json or equivalent, to verify install/start scripts are present and executed as expected.package.json containing only production dependencies on a fresh remix to isolate dependency size as the cause.One missing diagnostic detail that changes the recommendation: the specific platform and plan. Quotas, enforcement timing, and whether glitch.json is relevant are platform and plan specific and can change without notice.
Use comments to ask for clarification. Post a solution as an answer.
No question comments on this page.