TaTo30 / vue-pdf

PDF component for Vue 3
https://tato30.github.io/vue-pdf/
MIT License
358 stars 51 forks source link

All PDFs not loaded #75

Closed ahmedmaghraby closed 6 months ago

ahmedmaghraby commented 7 months ago

All PDFs in my project as well as examples in the library's documentation are failing to load. image

TaTo30 commented 7 months ago

PDFs are loading well in documentation website. Maybe your browser are blocking the worker, there are an error in console?

imagen

safi-okz commented 7 months ago

PDF files are not load correctly

ahmedmaghraby commented 7 months ago

PDFs are loading well in documentation website. Maybe your browser are blocking the worker, there are an error in console?

imagen

The service was down for approximately 5-6 hours. I am not sure what caused the issue. I have been using the library for the past 5 months and everything was functioning normally. However, suddenly, without any changes, all PDFs failed to load. After 5 hours, the service started working again, but I am still unsure about what happened.

There isn't any error in the console, Did you depend on any online serves?

ahmedmaghraby commented 7 months ago

PDF files are not load correctly

what's your problem, safi?

safi-okz commented 7 months ago

I am getting the pdf through props and get this error "chunk-ZQF6ASK3.js?v=e11c9d5e:2469 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'emitsOptions') at shouldUpdateComponent"

On Thu, Dec 21, 2023 at 7:24 PM ahmed maghraby @.***> wrote:

PDF files are not load correctly

what's your problem, safi?

— Reply to this email directly, view it on GitHub https://github.com/TaTo30/VuePDF/issues/75#issuecomment-1866357277, or unsubscribe https://github.com/notifications/unsubscribe-auth/AN42A5ATOU44KNYEAUSABK3YKRBB5AVCNFSM6AAAAABA3EOH36VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRWGM2TOMRXG4 . You are receiving this because you commented.Message ID: @.***>

TaTo30 commented 7 months ago

Did you depend on any online serves?

No, it didn't, actually the component works offline as well. Are you loading PDFs by URL? maybe the source was getting lost

TaTo30 commented 7 months ago

"chunk-ZQF6ASK3.js?v=e11c9d5e:2469 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'emitsOptions') at shouldUpdateComponent"

It doesn't seem an VuePDF issue. Could you share the code?

ahmedmaghraby commented 6 months ago

Did you depend on any online serves?

No, it didn't, actually the component works offline as well. Are you loading PDFs by URL? maybe the source was getting lost

yes I'm using URL but the same URL working know anyway it's worked now I hope don't face this problem again