Skip to content

Error adding plugin to ElizaΒ #4

@GlitchicaL

Description

@GlitchicaL

Problem

As of Eliza v0.25.8, adding this plugin via npx elizaos plugins add @elizaos-plugins/plugin-solana results in the following error:

Image

Upon executing the failed command pnpm add @elizaos/core@workspace:* --filter ./packages/plugin-solana for more context, this results in the following error related to plugin-tee:

Image

I suspect this is due to the removal of packages from the main eliza project from commit 670e1ad

Temporary Workaround Found

So far I've found doing the following works as a temporary workaround:

  1. Add the following plugin: npx elizaos plugins add @elizaos-plugins/plugin-tee
  2. Update the package.json's @elizaos/plugin-tee to @elizaos-plugins/plugin-tee and @elizaos/plugin-trustdb (currently as I write this it appears trustdb has been removed as a plugin via commit 1cadbc2)?
-"@elizaos/plugin-tee": "workspace:*",
+"@elizaos-plugins/plugin-tee": "workspace:*",
-"@elizaos/plugin-trustdb": "workspace:*",
+"@elizaos/plugin-trustdb": "0.25.6-alpha.1",
  1. Update the following plugins being imported inside of keypairUtils.ts
-import { DeriveKeyProvider, TEEMode } from "@elizaos/plugin-tee";
+import { DeriveKeyProvider, TEEMode } from "@elizaos-plugins/plugin-tee";
  1. Import uuid as it's missing from the eliza monorepo: pnpm add uuid -w

It might be worth to update the references of @elizaos/plugin-tee to @elizaos-plugins/plugin-tee and add uuid as a dependency.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions