Skip to content

fix: declare pnpm workspace packages - #721

Open
cayo-aura wants to merge 1 commit into
outsourc-e:mainfrom
cayo-aura:fix/pnpm-workspace-packages
Open

fix: declare pnpm workspace packages#721
cayo-aura wants to merge 1 commit into
outsourc-e:mainfrom
cayo-aura:fix/pnpm-workspace-packages

Conversation

@cayo-aura

@cayo-aura cayo-aura commented Jul 18, 2026

Copy link
Copy Markdown

What changed

  • Declares the root package in pnpm-workspace.yaml with packages: ['.'].
  • Keeps the existing allowBuilds approvals for Electron, esbuild, and related install scripts.

Why

A fresh clone currently fails before dependencies can be installed:

git clone https://github.com/outsourc-e/hermes-workspace.git
cd hermes-workspace
pnpm install

pnpm exits with:

ERROR packages field missing or empty

The workspace file exists, but it only contains allowBuilds. pnpm expects a non-empty packages field when pnpm-workspace.yaml is present.

Verification

Validated in a clean clone:

pnpm install --frozen-lockfile
cp .env.example .env
printf '\nHERMES_API_URL=http://127.0.0.1:8642\nHERMES_DASHBOARD_URL=http://127.0.0.1:9119\n' >> .env
PORT=4300 pnpm dev

Result: install completes successfully and Vite starts at http://localhost:4300/.

@cayo-aura
cayo-aura requested a review from outsourc-e as a code owner July 18, 2026 05:08
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.

2 participants