Skip to content

fix: resolve pnpm workspace dependency errors for extensions#2739

Closed
cloudyan wants to merge 1 commit intoopenclaw:mainfrom
cloudyan:dev_202601_install
Closed

fix: resolve pnpm workspace dependency errors for extensions#2739
cloudyan wants to merge 1 commit intoopenclaw:mainfrom
cloudyan:dev_202601_install

Conversation

@cloudyan
Copy link

@cloudyan cloudyan commented Jan 27, 2026

Problem

When running pnpm install, two dependency resolution errors occurred:

1. Missing workspace package: The packages/clawdbot package was not included in the workspace configuration, 
causing extensions that depend on it to fail with ERR_PNPM_WORKSPACE_PKG_NOT_FOUND.
2. Missing devDependencies: The @moltbot/memory-core extension had only peerDependencies for clawdbot 
without corresponding devDependencies, causing pnpm to attempt fetching from npm registry 
(ERR_PNPM_NO_MATCHING_VERSION) instead of using the local workspace package.

Solution

1. Updated pnpm-workspace.yaml: Added packages/* to the workspace packages list to include 
the packages/clawdbot compatibility shim package.
2. Updated extensions/memory-core/package.json: Added devDependencies with clawdbot: workspace:* to ensure 
the local workspace package is used during development, matching the pattern used by other extensions 
like @moltbot/googlechat.

Changes

* pnpm-workspace.yaml: Added packages/* to workspace packages
* extensions/memory-core/package.json: Added devDependencies.clawdbot: workspace:*

@openclaw-barnacle openclaw-barnacle bot added the extensions: memory-core Extension: memory-core label Jan 27, 2026
Copy link
Contributor

@tonydehnke tonydehnke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fixes the Docker build issue we hit after the moltbot rename. 👍

@sebslight
Copy link
Member

Closing due to merge conflicts. Please rebase on main and reopen if you'd like to continue with this contribution.

@sebslight sebslight closed this Jan 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

extensions: memory-core Extension: memory-core

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants