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

Buffer error while importing #1707

Open
2 tasks done
Official-Spsingh opened this issue Dec 3, 2024 · 0 comments
Open
2 tasks done

Buffer error while importing #1707

Official-Spsingh opened this issue Dec 3, 2024 · 0 comments

Comments

@Official-Spsingh
Copy link

Official-Spsingh commented Dec 3, 2024

What were you trying to do?

importing
import { PDFDocument, StandardFonts } from 'pdf-lib';

in microfrontend react webpack5

Getting buffer error
image

How did you attempt to do it?

importing
import { PDFDocument, StandardFonts } from 'pdf-lib';

in microfrontend react webpack5

Getting buffer error
image

What actually happened?

importing
import { PDFDocument, StandardFonts } from 'pdf-lib';

in microfrontend react webpack5

Getting buffer error
image

What did you expect to happen?

It should work

How can we reproduce the issue?

just imported and it gave error

Version

"^1.17.1"

What environment are you running pdf-lib in?

Browser

Checklist

image

  • My report includes a Short, Self Contained, Correct (Compilable) Example.
  • I have attached all PDFs, images, and other files needed to run my SSCCE.

Additional Notes

No response

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

No branches or pull requests

1 participant