Skip to content

Preventing my agent from starting #7

@retdude

Description

@retdude

Hello, I am having an issue trying to use this plugin, when I add it to my character file, it will prevent my agent from starting with this error:

[2025-06-03 21:08:26] ERROR: [My agent (AgentId)] - Failed to initialize service mcp:
[2025-06-03 21:08:26] ERROR: Error starting agent for character [My_Agent]:
[2025-06-03 21:08:26] ERROR:
err: {
"type": "TypeError",
"message": "service.initialize is not a function",
"stack":
TypeError: service.initialize is not a function
at AgentRuntime.initialize (/eliza/packages/core/dist/index.js:5095:31)
at startAgent (/eliza/agent/src/index.ts:579:23)
at async startAgents (/eliza/agent/src/index.ts:648:13)
}
[2025-06-03 21:08:26] ERROR: Error starting agents:
[2025-06-03 21:08:26] WARN: Port 3000 is in use, trying 3001
[2025-06-03 21:08:26] WARN: Server started on alternate port 3001
[2025-06-03 21:08:26] INFO: Run pnpm start:client to start the client and visit the outputted URL (http://localhost:5173) to chat with your agents. When running multiple agents, use client with different port SERVER_PORT=3001 pnpm start:client

It seems to not like the initialize function in service.ts is not being accepted by the core plugin? What is going on here?

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