Errors on MacOS M3 - ERR_PNPM_RECURSIVE_EXEC_FIRST_FAIL Command "start:client" not found
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
Hello @clickbrain! Welcome to the ai16z community. Thank you for opening your first issue; we appreciate your contribution. You are now a ai16z contributor!
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
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.
It is possible there is an issue on the main branch.
@clickbrain
Have you tried using eliza v.0.1.7 as suggested here: https://github.com/elizaOS/eliza/issues/1552#issuecomment-2571374498 ?
Hello here. Did you made to make it run ? Is ossible that Silicon not like this version listed. I mar this to need feeback.
@clickbrain
Are you able to run the agent with GitHub repository eliza directly instead:
https://github.com/elizaOS/eliza-starter/issues/64#issuecomment-2580772579
?
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/
Close because no more feedback from the user.
Thank you! I will give that a try. Haven't been able to get back to it this week.
Sadly, this does not seem to have worked. Got to the REST API bound section and then nothing happened after that. Checked local host URL for REST and it is working.
Followed your suggestions above: installed the sharp npm module globally pnpm start --character="characters/c3po.character.json" pnpm start:client - in another terminal tab
Gives me the Vite URL Loaded that in browser and see an Ezlia screen interface, but the bottom left status shows it connecting and then disconnecting over and over again.
Sadly, this does not seem to have worked. Got to the REST API bound section and then nothing happened after that. Checked local host URL for REST and it is working.
Followed your suggestions above: installed the sharp npm module globally pnpm start --character="characters/c3po.character.json" pnpm start:client - in another terminal tab
Gives me the Vite URL Loaded that in browser and see an Ezlia screen interface, but the bottom left status shows it connecting and then disconnecting over and over again.
I had this too. Update last version and all should be fine.
@AIFlowML This issue is still occurring on starter pack, but works fine on the main branch.