eliza icon indicating copy to clipboard operation
eliza copied to clipboard

 ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL 

Open TobiGoldD opened this issue 11 months ago • 14 comments

Describe the bug  ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  @elizaos/[email protected] start: node --loader ts-node/esm src/index.ts "--isRoot" Exit status 1

TobiGoldD avatar Jan 10 '25 19:01 TobiGoldD

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

github-actions[bot] avatar Jan 10 '25 19:01 github-actions[bot]

image ai issue

TobiGoldD avatar Jan 10 '25 19:01 TobiGoldD

Are you trying to run in windows environment? Error might or might not be related to the windows environment but if are on Windows, you will need WSL anyway, try to run it in that.

brij2001-hof avatar Jan 10 '25 19:01 brij2001-hof

Please use node version 23.3. And remove node_modules then, pnpm i again.

leyr1112 avatar Jan 10 '25 19:01 leyr1112

23.3 is not availible on their web site also this was working for about 6 hours before suddenly stopping with the error

TobiGoldD avatar Jan 10 '25 19:01 TobiGoldD

What is error, please share screenshot here. Note for Windows Users: WSL 2 is required.

leyr1112 avatar Jan 10 '25 19:01 leyr1112

image

TobiGoldD avatar Jan 10 '25 19:01 TobiGoldD

that is the error that comes up when i run pnpm start or npm start

TobiGoldD avatar Jan 10 '25 20:01 TobiGoldD

image

TobiGoldD avatar Jan 10 '25 20:01 TobiGoldD

image

TobiGoldD avatar Jan 10 '25 20:01 TobiGoldD

Same problem in MacOS

LuismiLabs avatar Jan 11 '25 04:01 LuismiLabs

I run on Apple Silicon with no issues. Can you all try run the ElizaOS not the starter (in case it was the starter) and send me a feedback please ?

AIFlowML avatar Jan 12 '25 10:01 AIFlowML

Downgrade your node to exactly 23.3.0 and follow the docs to do a fresh setup.

gepng avatar Jan 13 '25 09:01 gepng

hi are you already fix this error? i have same problem

rustyralminar avatar Jan 13 '25 13:01 rustyralminar

sudo apt-get install build-essential run this command on linux

leyr1112 avatar Jan 13 '25 18:01 leyr1112

I have the sama issue :/ Did someone find a solution?

0x3N3jVhPUV avatar Jan 27 '25 02:01 0x3N3jVhPUV

I have the sama issue :/ Did someone find a solution?

Yes Try to checkout the last release Has been solved on the last one

LuismiLabs avatar Jan 27 '25 03:01 LuismiLabs

I've had the same issue on macOS. Checking out on latest release alone didn't solve my issue (maybe because i was adding API_KEY only in defaultCharacter.ts). These are the steps i've gone through: Clone Eliza repo -> Make sure you use node v23.3.0 -> Checkout to latest release -> Copy .env-example into .env -> Make sure you have API_KEY in your env and change the modelProvider if you need to -> pnpm i && pnpm build && pnpm start

Not sure if node v23.3.0 is essential, but it throws out warning unless you use it.

purpleethereum avatar Jan 29 '25 13:01 purpleethereum

I have the same issue, did anyone find a solution to the issue?

zubyoha avatar Jan 31 '25 15:01 zubyoha

I have the same issue, did anyone find a solution to the issue?

@purpleethereum solutions seems to work @zubyoha

sparkidea25 avatar Jan 31 '25 17:01 sparkidea25