Skip to content

Fix server root directory resolution#10

Open
MedGhazal wants to merge 1 commit into
lukaslerche:mainfrom
MedGhazal:Fix-Root-Dependency-Resolution
Open

Fix server root directory resolution#10
MedGhazal wants to merge 1 commit into
lukaslerche:mainfrom
MedGhazal:Fix-Root-Dependency-Resolution

Conversation

@MedGhazal

Copy link
Copy Markdown

The Problem: After rebuilding, the production Docker deployment failed to serve static assets, resulting in 404 Not Found errors for JavaScript chunks. Interestingly, local development (pnpm dev) worked completely fine, making it hard to detect upfront.

The Cause: The issue is triggered by an upstream bug in @sveltejs/adapter-node@5.5.5. An internal change to entrypoint bundling caused the node process to miscalculate asset paths specifically when running inside Docker containers.

The Fix: SvelteKit released a patch version (5.5.6) that resolves this pathing issue completely.

Bumping the @sveltejs/adapter-node dependency to ^5.5.6

@vercel

vercel Bot commented Jun 25, 2026

Copy link
Copy Markdown

@MedGhazal is attempting to deploy a commit to the lerche's projects Team on Vercel.

A member of the Team first needs to authorize it.

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