ngx-extended-pdf-viewer: PDFLinkService.navigateTo: "null" is not a valid destination array
Hello
I followed your installation guide and tried to use this lib in our project. Everything is working fine so far, except for a single error in the console when the pdf viewer is launched for the first time:
PDFLinkService.navigateTo: "null" is not a valid destination array, for dest="/xxx" (xxx is the angular router link of the current component). I could not find anything in the doc regarding this error. Do you have an idea what could be the problem? Also, pdf.js warns about the missing default worker Warning: Setting up fake worker. As far as I know, this warning only appears when the default pdf directory is missing?
Thanks in advance
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 36 (20 by maintainers)
Commits related to this issue
- #71 deactivate the URL listener by default — committed to stephanrauh/ngx-extended-pdf-viewer by stephanrauh 5 years ago
si pues tendria que tener un PDF x defecto para poder limpiarlo entonces, y los pasos son asi:
Te coloqué un video para que veas https://github.com/luis-cosillo/testPDF/blob/main/ejemplos/2022-02-09_16-50-35.mp4
Este es el link https://github.com/luis-cosillo/testPDF.git, allí te cree el proyecto, básicamente lo que hice agarre el mismo template para que sea lo más parecido al proyecto en el que estoy trabajando. Muchas gracias siempre por el apoyo.
voy a crearla y te paso el link para que lo puedas descargar