Skip to content
New issue

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

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

Already on GitHub? # to your account

Can't start project. Got ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL error #925

Closed
ntourne opened this issue Dec 8, 2024 · 5 comments
Closed

Can't start project. Got ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL error #925

ntourne opened this issue Dec 8, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@ntourne
Copy link

ntourne commented Dec 8, 2024

Describe the bug

I can't run the agent following the Getting Started docs.
I got this error:

 ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  @ai16z/agent@0.1.5-alpha.5 start: `node --loader ts-node/esm src/index.ts "--isRoot" "--character=characters/trump.character.json"`
Exit status 1
 ELIFECYCLE  Command failed with exit code 1.

To Reproduce

git clone https://github.com/ai16z/eliza.git

cd eliza

git checkout $(git describe --tags --abbrev=0)
# v0.1.5-alpha.5

pnpm install

pnpm build

cp .env.example .env
# Didn't make any change

Finally, tried to start the agent:

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

Expected behavior

I would spect the agent to start without issues.

Additional context

My local env:

Node: v23.3.0
pnpm: v9.15.0
Python: v3.11.6
@ntourne ntourne added the bug Something isn't working label Dec 8, 2024
@kennytan41
Copy link

same error

@shakkernerd
Copy link
Member

Hi @ntourne What is your OS ?

@CodingTux
Copy link
Contributor

I am not able to reproduce this issue.

Tested in these environments
os: macOS 15.1.1
node: v22.11.0
pnpm: 9.14.3

it would be great if you can share more info :)

@ileana-pr
Copy link
Contributor

Looks like missing dependency... try to clean and rebuild:

pnpm clean
pnpm install
pnpm build

pnpm add -w -D ts-node typescript @types/node

@ntourne
Copy link
Author

ntourne commented Dec 14, 2024

@shakkernerd: Fixed, thanks!
I executed what @ileana-pr shared:

pnpm clean
pnpm install
pnpm build

pnpm add -w -D ts-node typescript @types/node

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

No branches or pull requests

6 participants