Skip to content

fix(frontend): regenerate package-lock.json to fix Docker build#44

Merged
Izzetee merged 1 commit into
mainfrom
fix/frontend-lockfile-rollup
Jul 10, 2026
Merged

fix(frontend): regenerate package-lock.json to fix Docker build#44
Izzetee merged 1 commit into
mainfrom
fix/frontend-lockfile-rollup

Conversation

@Izzetee

@Izzetee Izzetee commented Jul 10, 2026

Copy link
Copy Markdown
Owner

The npm dependency bump (#41, Vite ^8.1.4) committed a web/console/package-lock.json that omitted the bundler's platform-specific optional binaries (e.g. @rollup/rollup-linux-x64-musl). In the Docker build (node:22-alpine, musl), npm ci then failed with MODULE_NOT_FOUND in rollup/dist/native.js, breaking npm run build and the whole image build.

Fix: regenerated the lockfile (rm -rf node_modules package-lock.json && npm install) so dependencies resolve correctly. Verified: docker compose -f docker-compose-app.yml build now succeeds. package.json is unchanged.

…rm binaries

The npm dependency bump (#41, Vite ^8.1.4) produced a package-lock.json that
omitted the bundler's platform-specific optional binaries. In the Docker build
(node:22-alpine / musl), npm ci then failed with MODULE_NOT_FOUND in
rollup/dist/native.js, breaking 'npm run build'.

Regenerated the lockfile (rm -rf node_modules package-lock.json && npm install)
so dependencies resolve correctly. Docker image now builds successfully.
package.json is unchanged.
@Izzetee
Izzetee merged commit a9f04f0 into main Jul 10, 2026
8 checks passed
@Izzetee
Izzetee deleted the fix/frontend-lockfile-rollup branch July 10, 2026 10:07
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