Javascript pdfmake can';t运行ng build--pro Angular 7
我在angular 7中尝试运行ng build--prod时出错,我想我的问题是因为我添加了用于制作pdf文档的库,我试图找到解决方案来修复它,但找不到,您可以在下面看到我的错误: “PdfmakeService”的模板编译过程中出错 函数调用在decorators中不受支持,但在“Injectable”中调用了“makeDecorator” “可注射”引用“可注射” “可注射”引用“可注射” “可注射”引用“可注射”Javascript pdfmake can';t运行ng build--pro Angular 7,javascript,angular,pdfmake,Javascript,Angular,Pdfmake,我在angular 7中尝试运行ng build--prod时出错,我想我的问题是因为我添加了用于制作pdf文档的库,我试图找到解决方案来修复它,但找不到,您可以在下面看到我的错误: “PdfmakeService”的模板编译过程中出错 函数调用在decorators中不受支持,但在“Injectable”中调用了“makeDecorator” “可注射”引用“可注射” “可注射”引用“可注射” “可注射”引用“可注射” “Injectable”调用“makeDecorator”。在图像压缩之前
“Injectable”调用“makeDecorator”。在图像压缩之前,我使用pdfmake库导出pdf文件,希望能对您有所帮助