Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Client App not load due a error #2588

Closed
JulioMCruz opened this issue Jan 21, 2025 · 4 comments
Closed

Client App not load due a error #2588

JulioMCruz opened this issue Jan 21, 2025 · 4 comments
Labels
bug Something isn't working

Comments

@JulioMCruz
Copy link

JulioMCruz commented Jan 21, 2025

Describe the bug

When cloning a new, fresh version of Eliza and setting the agent, the agent console runs correctly, but the client app throws an error.

Using osx 14.6.1 M2

To Reproduce

git clone https://github.com/elizaos/eliza.git Eliza
cd Eliza
git checkout $(git describe --tags --abbrev=0)
pnpm install --no-frozen-lockfile
pnpm build

  • Create the .env file

pnpm start --character="characters/c3po.character.json"

In other terminal run:

pnpm start:client

Open the browser to http://localhost:5173/

There will be a empty screen with an error in the Console (Image Attached)

Expected behavior

A working Client app to interact with the Agent.

Screenshots

Image

Image

Image

Image

@JulioMCruz JulioMCruz added the bug Something isn't working label Jan 21, 2025
Copy link
Contributor

Hello @JulioMCruz! Welcome to the elizaOS community. Thank you for opening your first issue; we appreciate your contribution. You are now an elizaOS contributor!

@JoeyKhd
Copy link
Member

JoeyKhd commented Jan 21, 2025

pnpm clean
pnpm install --no-frozen-lockfile
pnpm build

@JulioMCruz
Copy link
Author

After do that, still the issue

Image

@JulioMCruz
Copy link
Author

In the package.json in the directory client, I modify the version of react and react-dom as follows:

    "react": "^18.3.1",
    "react-dom": "^18.3.1",

After that, I reinstall the package, build and run "pnpm start:client", and the Client app works

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants