Skip to content

Fix #2047: Add jsdom override to resolve Docker/ESM build failure - #2051

Open
itsnevu wants to merge 1 commit into
assafelovic:mainfrom
itsnevu:fix/jsdom-esm-docker-override
Open

Fix #2047: Add jsdom override to resolve Docker/ESM build failure#2051
itsnevu wants to merge 1 commit into
assafelovic:mainfrom
itsnevu:fix/jsdom-esm-docker-override

Conversation

@itsnevu

@itsnevu itsnevu commented Aug 6, 2026

Copy link
Copy Markdown

Fixes #2047

Adds an overrides entry in frontend/nextjs/package.json to pin jsdom to 25.0.1, which resolves the ESM/CommonJS incompatibility causing the frontend build to fail inside Docker as described in the issue.

Added jsdom version override in package.json
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.

Frontend (gptr-nextjs) returns 500 via docker compose: jsdom 30 is ESM-only, incompatible with Node 18.17.0 in Dockerfile.dev (ERR_REQUIRE_ESM)

1 participant