fix(frontend): regenerate package-lock.json to fix Docker build#44
Merged
Conversation
…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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The npm dependency bump (#41, Vite
^8.1.4) committed aweb/console/package-lock.jsonthat omitted the bundler's platform-specific optional binaries (e.g.@rollup/rollup-linux-x64-musl). In the Docker build (node:22-alpine, musl),npm cithen failed withMODULE_NOT_FOUNDinrollup/dist/native.js, breakingnpm run buildand 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 buildnow succeeds.package.jsonis unchanged.