VIKAS KOHLI
VIKAS KOHLI
Install PhantomJs https://www.vultr.com/docs/how-to-install-phantomjs-on-ubuntu-16-04 Check phantomjs --version -> O/p 2.1.1 Then in the htm-pdf module html-pdf -> lib -> pdf.js Add the line after "this.options = options || {}" this.options.phantomPath =...
I m able to fix the issue by adding commonJsdependency property in the angular.json angular.json Inside Build command there is an option "build": { "builder": "@angular-devkit/build-angular:browser", "options": { "allowedCommonJsDependencies": ["ng2-pdf-viewer"],...