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

TypeError: Promise.withResolvers is not a function #1831

Closed
4 tasks done
muscaiu opened this issue Jun 18, 2024 · 4 comments
Closed
4 tasks done

TypeError: Promise.withResolvers is not a function #1831

muscaiu opened this issue Jun 18, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@muscaiu
Copy link

muscaiu commented Jun 18, 2024

Before you start - checklist

  • I followed instructions in documentation written for my React-PDF version
  • I have checked if this bug is not already reported
  • I have checked if an issue is not listed in Known issues
  • If I have a problem with PDF rendering, I checked if my PDF renders properly in PDF.js demo

Description

Tried to implement this library in NExtJS for a few hours now, but can't get rid of this error.

Also used your Sample next-app and still same error.

Screenshot 2024-06-18 at 16 37 21

Steps to reproduce

Use your Sample Next-App, install dependencies and run dev.
In my case yarn wasn't working so i used pnpm.

Expected behavior

no error

Actual behavior

TypeError: Promise.withResolvers is not a function

Additional information

No response

Environment

  • Browser (if applicable):
  • React-PDF version:
  • React version:
  • Bundler name and version (if applicable):
@muscaiu muscaiu added the bug Something isn't working label Jun 18, 2024
@wontory
Copy link

wontory commented Jun 18, 2024

I am also experiencing the same issue

@wojtekmaj
Copy link
Owner

Duplicate of #1811

@wojtekmaj wojtekmaj marked this as a duplicate of #1811 Jun 19, 2024
@wojtekmaj wojtekmaj closed this as not planned Won't fix, can't repro, duplicate, stale Jun 19, 2024
@aldwnesx
Copy link

aldwnesx commented Jul 7, 2024

Duplicate of #1811

what is the proper working solution?

@sovetski
Copy link

sovetski commented Feb 4, 2025

Same problem here with the latest version

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

No branches or pull requests

5 participants