pdfmake无法运行ng build--pro Angular 7



当我尝试在angular 7中运行ng build--prod时,我遇到了错误,我认为我的问题是因为我为制作pdf文档添加了pdfmake库,我试图找到解决方案来修复它,但找不到,你可以在下面看到我的错误:"PdfmakeService"的模板编译过程中出错decorator中不支持函数调用,但在"Injectable"中调用了"makeDecorator"Injectable"引用"Injective"Injectable"引用"Injective"Injectable"引用"Injective"Injectable"调用"makeDecorator"。

在图像压缩之前,我使用该pdfmake库导出pdf文件https://github.com/cesaralcoba/angular-9-compress-img-pdf我希望能帮助你

最新更新