ITADN

[Bug] The new version 0.1.32 try find a non-existing file by running the resolve the pdf.js

#94Closedwhats2000 创建于 2024-11-02
W
whats2000commented
**Describe the bug** That happens after upgrading to 0.1.32, it seems there are some incapable issues for node 20 It seems the package is trying to find a non-existing file by running the resolve the pdf.js ``` node_modules\pdfjs-dist\legacy\build\pdf doesn't exist node_modules\pdfjs-dist\legacy\build\pdf.js doesn't exist node_modules\pdfjs-dist\legacy\build\pdf.ts doesn't exist ``` **To Reproduce** Steps to reproduce the behavior: 1. Go to terminal 2. Run the npm build with the package update to 0.1.32 3. Invoke error and build fail 4. See error **Expected behavior** Build without any error **Screenshots** ![image](https://github.com/user-attachments/assets/4b89f710-b9e6-4134-bfe5-37058e451eda) **Desktop (please complete the following information):** - OS: Windows - Browser VSCode - Node Version v20.16.0 - Package Version 0.1.32
关闭于 2024-11-28 3 条评论