new version with angular universal 11
See original GitHub issueBug Report or Feature Request (mark with an x
)
- [ ] Bug report
/home/moniaz/testwebsites/server/server/main.js:3221
document.webL10n = function (window, document, undefined) {
^
ReferenceError: document is not defined
at Object.<anonymous> (/home/moniaz/testwebsites/server/server/main.js:3221:1)
at __w_pdfjs_require__ (/home/moniaz/testwebsites/server/server/main.js:175:30)
Issue Analytics
- State:
- Created 3 years ago
- Reactions:4
- Comments:38 (4 by maintainers)
Top Results From Across the Web
Server-side rendering (SSR) with Angular Universal
This guide describes Angular Universal, a technology that renders Angular applications on the server. A normal Angular application executes in the browser, ...
Read more >Releases · angular/universal - GitHub
15.0.0 (2022-11-16). Breaking Changes. @nguniversal/common. Angular universal no longer supports Node.js versions 14.[15-19].x and 16.
Read more >Angular Universal: Complete Practical Guide
This post will be a complete practical guide for getting started with Angular Universal. We are going to go start with an existing...
Read more >Server Side rendering with Angular universal 14 - Ganatan
Angular -universal allows to manage the seo with the server side rendering technique. ... The latest version of this tool is available below....
Read more >Angular Universal - server-side rendering for Angular.
Create new Angular project: Create new Angular Application using command: ; Install Angular Universal and update project files: Use Angular Schematics to add ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@VadimDez here is what is causing the issue: see lines in this diff.
@kevinvarela for now you can just change package.json :
"ng2-pdf-viewer": "^6.3.2"
and"pdfjs-dist": "^2.5.207"
to:"pdfjs-dist": "2.5.207"
and"ng2-pdf-viewer": "6.3.2"