Skip to content

fix(frontend): sync package-lock.json; bundle build always runs npm ci (#130) - #131

Merged
amar-python merged 1 commit into
mainfrom
fix/frontend-lockfile
Oct 27, 2026
Merged

amar-python merged 1 commit into
mainfrom
fix/frontend-lockfile

Conversation

@amar-python

Copy link
Copy Markdown
Owner

Fixes #130. It unblocks #60: phase A of the bundle build.

What changes

File Change
csv-table-hub-main/package-lock.json Regenerated with npm install --package-lock-only (Node 22.23.4, npm 10.9.9). One entry added: node_modules/nitro/node_modules/lru-cache 11.5.3. I compared the package list before and after, and no other package or version changed.
scripts/offline/build_bundle.sh npm ci always runs. It used to run only when node_modules was missing, which is how the stale lock got through the 26 Oct rehearsals. The header comment now says Node.js 22.12+.
docs/offline-install.md The build machine needs Node.js 22.12+, and must be Ubuntu 24.04 rather than a newer release, because the packages come from the build machine's own sources.
docs/QUICKSTART.md Node.js 22.12+ (TanStack Start needs >=22.12.0).

Checks

Run on a clean copy of main's csv-table-hub-main (git archive, no node_modules):

  • Before: npm ci failed with Missing: lru-cache@11.5.3 from lock file. That reproduces the failure seen on the dev machine.
  • After:
    • npm ci: 508 packages added, exit 0;
    • vitest: 12 files, 139 passed;
    • NITRO_PRESET=node-server build OK (.output/server/index.mjs produced).
  • bash -n scripts/offline/build_bundle.sh: OK.

Done when


Generated by Claude Code

#130)

npm ci failed on main with "Missing: lru-cache@11.5.3 from lock file".
Regenerated with npm install --package-lock-only: one entry added
(node_modules/nitro/node_modules/lru-cache), no version changes.
build_bundle.sh no longer skips npm ci when node_modules exists, which
is what hid this in the 26 Oct rehearsals. Node 22.12+ in the docs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019YPoXzBSj89ZHgw7nfTmbB
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 package-lock.json out of sync: clean npm ci fails, blocking the #60 bundle build

2 participants