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

Attachments is broken after @react-pdf/pdfkit 2.0.12 #2120

Closed
chris-morgan opened this issue Dec 24, 2022 · 1 comment · Fixed by #2121
Closed

Attachments is broken after @react-pdf/pdfkit 2.0.12 #2120

chris-morgan opened this issue Dec 24, 2022 · 1 comment · Fixed by #2121

Comments

@chris-morgan
Copy link

chris-morgan commented Dec 24, 2022

Details in #1607 (comment), just filing this separately since that PR is not open.

That patch should either be reverted or fixed properly.

Workaround to get the old, functional version: it’s probably enough to, in your package.json, specify exact versions for all relevant packages:

{
	"dependencies": {
		"@react-pdf/renderer": "2.0.21",
		"@react-pdf/layout": "2.0.21",
		"@react-pdf/pdfkit": "2.0.12",
	}
}
@jeetiss
Copy link
Collaborator

jeetiss commented Dec 27, 2022

Thanks for your investigation!

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

Successfully merging a pull request may close this issue.

2 participants