Skip to content

fix(scripts): stub pnpm in build-frontend.sh for environments without it#96

Merged
JanZachmann merged 1 commit intoomnect:mainfrom
JanZachmann:fix/build-frontend-pnpm
Feb 12, 2026
Merged

fix(scripts): stub pnpm in build-frontend.sh for environments without it#96
JanZachmann merged 1 commit intoomnect:mainfrom
JanZachmann:fix/build-frontend-pnpm

Conversation

@JanZachmann
Copy link
Contributor

@JanZachmann JanZachmann commented Feb 12, 2026

Summary

  • Add a no-op pnpm stub in build-frontend.sh when pnpm is not on PATH
  • Mirrors the existing workaround in the Dockerfile (lines 17-21)

Reason

crux_core TypeGen requires pnpm on PATH during cargo build -p shared_types but never actually invokes it. Running build-frontend.sh inside the rust:bookworm container image fails because pnpm is not installed there.

crux_core TypeGen requires pnpm on PATH but never actually uses it.
Provide a no-op stub when pnpm is not installed, matching the existing
Dockerfile workaround.

Signed-off-by: Jan Zachmann <50990105+JanZachmann@users.noreply.github.com>
@JanZachmann JanZachmann merged commit e828bd5 into omnect:main Feb 12, 2026
3 checks passed
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

Comments