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

yoga-layout not found #2546

Closed
vivekdhiman007 opened this issue Jan 23, 2024 · 4 comments
Closed

yoga-layout not found #2546

vivekdhiman007 opened this issue Jan 23, 2024 · 4 comments

Comments

@vivekdhiman007
Copy link

Describe the bug
the renderer is not working with node v14, it was working with old versions before which was v3.1.14, when it was updated to latest version, it started throwing error of yoga-layout not found. when using old versions now it again goes blank but doesn't show error

To Reproduce
Steps to reproduce the behavior including code snippet (if applies):

  1. install latest version with node v14
  2. npm start
  3. see error

Expected behavior
the renderer should produce pdf document and preview on the Dom

Screenshots

Screenshot 2024-01-23 at 10 32 21 AM

Desktop (please complete the following information):

  • OS: MacOS
  • Browser chrome, safari
  • React-pdf version v3.1.14 and latest
@diegomura
Copy link
Owner

Duplicated: #2499

@wojtekmaj
Copy link
Contributor

This makes me curious though, what is the minimum Node.js version we aim to support? I can't find it in the documentation and engines is also missing from package.json.

@diegomura
Copy link
Owner

Not sure I ever defined it, but probably 18

@wojtekmaj
Copy link
Contributor

Once (and if) #2495 gets merged, I'll set up testing on multiple Node.js versions :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants