Skip to content

fix: add missing viem dependency#22

Closed
0xCheetah1 wants to merge 2 commits intoBlockRunAI:mainfrom
0xCheetah1:fix/add-missing-viem-dependency
Closed

fix: add missing viem dependency#22
0xCheetah1 wants to merge 2 commits intoBlockRunAI:mainfrom
0xCheetah1:fix/add-missing-viem-dependency

Conversation

@0xCheetah1
Copy link
Copy Markdown
Contributor

Problem

viem is used in src/agent/commands.ts for wallet functionality (privateKeyToAccount) but is not listed in package.json. This causes a build failure:

src/agent/commands.ts:796:56 - error TS2307: Cannot find module 'viem/accounts'

Fix

Added viem to dependencies in package.json.

Testing

  • pnpm install && pnpm run build completes successfully.

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