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

Render on component load Cannot read properties of undefined (reading 'catch') #372

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

andyowli
Copy link

@andyowli andyowli commented Jun 9, 2022

Using version 4.3.0, add pdf src to the component to render Typeerror: cannot read properties of undefined (reading'catch'), but this does not affect the normal use of the component. Locate the error, and the error is displayed in pdfRender.cancel().catch(function(err) { emitEvent('error', err); });
Just put canceling = true; in front of if ( canceling ),the component will not render this error.

@luisrossi
Copy link

@teckel12
Copy link

teckel12 commented Apr 7, 2023

As this project seems to be abandoned, I created a fork which corrects this bug. The package can be found here:

https://www.npmjs.com/package/@teckel/vue-pdf

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 this pull request may close these issues.

None yet

3 participants