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

pdf js crashes the agent #1751

Closed
virusxd521 opened this issue Jan 3, 2025 · 2 comments
Closed

pdf js crashes the agent #1751

virusxd521 opened this issue Jan 3, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@virusxd521
Copy link

The agent is crashing when I'm running it due to the error described bellow.
I tried to remove the node module and reinstall them again yet it didn't help

eliza/node_modules/pdfjs-dist/build/pdf.mjs:5764
var packageCapability = Promise.withResolvers();
^

TypeError: Promise.withResolvers is not a function

Screenshot 2025-01-03 at 11 09 33 AM
@virusxd521 virusxd521 added the bug Something isn't working label Jan 3, 2025
Copy link
Contributor

github-actions bot commented Jan 3, 2025

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

@virusxd521
Copy link
Author

Solved, switched to node v23 instead of 20 and it works

# 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

1 participant