pdfjs-dist 版本过高会导致 项目编译启动失败!
| class PDFDocumentLoadingTask { > static #docId = 0; | | constructor() {
此为编译运行失败断点。
解决办法:
pdfjs-dist 降低到:2.0.943
将不会报错。
如果2.0.943版本无法运行想 尝试更换版本为:2.5.207,2.4.456
亲测有效,
或者node版本切换为,14至16的版本。
pdfjs-dist 版本过高会导致 项目编译启动失败!
| class PDFDocumentLoadingTask { > static #docId = 0; | | constructor() {
此为编译运行失败断点。
解决办法:
pdfjs-dist 降低到:2.0.943
将不会报错。
如果2.0.943版本无法运行想 尝试更换版本为:2.5.207,2.4.456
亲测有效,
或者node版本切换为,14至16的版本。