eliza icon indicating copy to clipboard operation
eliza copied to clipboard

some questions + in develop, getting "⛔ TypeError: plugin.actions?.forEach is not a function" when trying to load @ai16z/plugin-bootstrap

Open Laurentiu-Andronache opened this issue 2 months ago • 1 comments

Describe the bug

I have this in the character file: "plugins": ["@ai16z/plugin-node", "@ai16z/plugin-image-generation", "@ai16z/plugin-bootstrap"],. The first two plugins work.

I did:

cd agent; pnpm add @ai16z/plugin-bootstrap
cd ..; pnpm run build
pnpm run start --character...
  1. Any idea why I get that error from the title?
  2. Did I have to run build again?

Unrelated: 3. Why do I have packages in both agent/ and packages/? 4. Which of the above folders is used in pnpm run vs pnpm run dev? 5. If I understood correctly, I have to run pnpm run build every time I modify something from packages/. Correct?

To Reproduce

Expected behavior

Screenshots

image

Additional context

Laurentiu-Andronache avatar Dec 15 '24 15:12 Laurentiu-Andronache