diegomura / diegomura/react-pdf

Render Error Reporting

Open
#893 9 comments 0 reactions 0 assignees View on GitHub
new feature
Dominant language
TypeScript
Stars
16.8k
Forks
1.3k
Avg merge
5h 6m
Merged PRs (30d)
52

Description

First, can I say thanks for this package, it's way better than any pdf generator I've used before.

I've come up against a problem and I was hoping for some pointers.

I'm using version 2.0.0-beta.5, which has proved to be very helpful with the new features, especially `minPresenceAhead`.

I've just come up against this message at the render stage:

> TypeError: Cannot read property 'height' of undefined
> at setNodeHeight (resolveDimensions.js:72)
> at resolveDimensions.js:85
> at tap (tap.js:26)
> at _dispatchable.js:38
> at _curry2.js:19
> at f1 (_curry1.js:16)
> at _pipe.js:3
> at _pipe.js:3
> at _pipe.js:3
> at _arity.js:10
> at resolveDimensions.js:176

What I would really like here is a bit more information in the error, for example some info about which node is causing a problem.

In the meantime, could you give me any pointers about what kind of mistake on my part could have caused this? I've been using the package constantly for the last 3 weeks and this is the first time I've encountered this message.

I'm going to try to find the error but it's a massive document and a long job to wade through it.

Thanks!

Tom

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.