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

Errors on MacOS M3 - ERR_PNPM_RECURSIVE_EXEC_FIRST_FAIL  Command "start:client" not found #1990

Open
clickbrain opened this issue Jan 7, 2025 · 6 comments
Labels
bug Something isn't working Need Feedback

Comments

@clickbrain
Copy link

Describe the bug
After running pnpm i && pnpm build && pnpm start
it shows the Rest API URL and verified it is there, but when I go to new terminal window and run pnpm start:client

Get this error:
 ERR_PNPM_RECURSIVE_EXEC_FIRST_FAIL  Command "start:client" not found
Did you mean "pnpm start:service:all"?

Tried running pnpm start:service:all and get this:

@ai16z/[email protected] start:service:all /Users/bradn/Documents/dev/eliza-starter
pm2 start pnpm --name="all" --restart-delay=3000 --max-restarts=10 -- run start:all

sh: pm2: command not found
 ELIFECYCLE  Command failed.

To Reproduce
git clone https://github.com/elizaos/eliza-starter.git
cd eliza-starter
cp .env.example .env
pnpm i && pnpm build && pnpm start
New Terminal tab:
pnpm start:client

Expected behavior

Run the client app and load agent

Screenshots

Additional context

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

github-actions bot commented Jan 7, 2025

Hello @clickbrain! Welcome to the ai16z community. Thank you for opening your first issue; we appreciate your contribution. You are now a ai16z contributor!

@MarcusWentz
Copy link

MarcusWentz commented Jan 8, 2025

Running into the same issue on Linux.
Does this work on Windows or other Mac computers using Intel or AMD chips possibly?
If anyone else can test this with other hardware please share.

Steps to reproduce:

https://github.com/elizaOS/eliza?tab=readme-ov-file#-quick-start

git clone https://github.com/elizaos/eliza-starter.git
cd eliza-starter
cp .env.example .env
pnpm i && pnpm build && pnpm start

Once the agent is running, you should see the message to run "pnpm start:client" at the end. Open another terminal and move to same directory and then run below command and follow the URL to chat to your agent.

pnpm start:client

@MarcusWentz
Copy link

I installed pm2

pnpm i pm2 -g

and got some errors with better-sqlite which seems to be resolved after running

sudo apt-get install libsqlite3-dev
npm rebuild better-sqlite3 --build-from-source

but I am still getting the client messaging error when running

pnpm start:client

even though I don't see an errors on the server side.

@MarcusWentz
Copy link

It is possible there is an issue on the main branch.

@clickbrain

Have you tried using eliza v.0.1.7 as suggested here:
#1552 (comment)
?

@AIFlowML
Copy link
Collaborator

AIFlowML commented Jan 9, 2025

Hello here.
Did you made to make it run ?
Is ossible that Silicon not like this version listed.
I mar this to need feeback.

@MarcusWentz
Copy link

MarcusWentz commented Jan 9, 2025

@clickbrain

Are you able to run the agent with GitHub repository eliza directly instead:
elizaOS/eliza-starter#64 (comment)
?

Guide:

I tried again with this guide for GitHub repository eliza directly instead of eliza-starter:

https://elizaos.github.io/eliza/docs/quickstart/

Where I used the latest stable release by running:

 git checkout $(git describe --tags --abbrev=0)

Then also installed the sharp npm module globally:

pnpm install --include=optional sharp -w

When I started an agent (character c3po from the library in this case):

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

I was able to access the client in another terminal in the eliza path:

pnpm start:client

then view the agent model web browser interface at:

http://localhost:5173/

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

No branches or pull requests

3 participants