Skip to content

Fix Rollup build failure on Linux deploy#325

Merged
simonhamp merged 1 commit intomainfrom
fix-rollup-linux-deploy
Mar 31, 2026
Merged

Fix Rollup build failure on Linux deploy#325
simonhamp merged 1 commit intomainfrom
fix-rollup-linux-deploy

Conversation

@simonhamp
Copy link
Copy Markdown
Member

Summary

  • Regenerated package-lock.json to include resolved entries for all platform-specific Rollup native binaries
  • The previous lockfile was generated on macOS ARM and only contained a full entry for @rollup/rollup-darwin-arm64, missing the @rollup/rollup-linux-x64-gnu entry needed by the deploy server
  • This caused vite build to fail during Forge deployment with Cannot find module @rollup/rollup-linux-x64-gnu

Test plan

  • Verified npm run build succeeds locally after regeneration
  • Deploy to staging/production and confirm vite build passes on Linux

🤖 Generated with Claude Code

The lockfile was generated on macOS ARM and only contained a resolved
entry for @rollup/rollup-darwin-arm64. The Linux deploy server could
not find @rollup/rollup-linux-x64-gnu, causing vite build to fail.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@simonhamp simonhamp marked this pull request as ready for review March 31, 2026 18:02
@simonhamp simonhamp merged commit 1c8f192 into main Mar 31, 2026
2 checks passed
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

Successfully merging this pull request may close these issues.

1 participant